actually yes, the r is "register" the l is "login" and r to y is "yes" r to
d is "done" if that makes sense? :)
the actual problem is coming from a missing { or an }
I just actually found a misplaced "}"
other then that Im still at a loss
----- Original Message -----
From: "Jason Murray" <[EMAIL PROTECTED]>
To: "'PHPhyperboy'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, April 23, 2001 10:25 PM
Subject: RE: [PHP] function in if statement not executed ?-->> Help
> > if($l=="d") {
> > log_user();
> > } else if($r=="d") {
> > add_user();
> > } else {
> > $r ="y";
> > }
>
> looks like:
>
> 1. $l is not set to "d".
>
> 2. $r is not set to "d".
>
> $r may be set to "y" by this code. Did you check it?
>
> Jason
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]