On Tuesday, April 16, 2002, at 11:32 AM, Scott St. John wrote:
> What I am also discovering is I have to use die; to halt execution for
> certain things. An example, I check to see if a user is still active in
> the system, if they are not I use a header to redirect them to a page
> that
> te
On Tue, 16 Apr 2002, Erik Price wrote:
> First of all, try organizing your code using whitespace. Here is an
> example of the code, formatted to be a bit easier to read:
Thank you, that was Pine doing some nice formatting tricks of it's own.
> Now, my first question, is why do you have $userI
On Tuesday, April 16, 2002, at 08:58 AM, Scott St. John wrote:
> I have been trying to organize my code better by using functions,
First of all, try organizing your code using whitespace. Here is an
example of the code, formatted to be a bit easier to read:
function chkFirstTime($userID)
{
I have been trying to organize my code better by using functions,
especially where I am repeating logic. The problem seems to be when I run
a condition within the function, an if statement to check for results of a
variable. As is the code seems to be bypasses, but if I put a die; in the
fun
4 matches
Mail list logo