Re: if statement

From: Date: Thu, 20 Sep 2001 14:00:46 +0000
Subject: Re: if statement
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-67988@lists.php.net to get a copy of this message
You need to use == instead of = in that situation. - Tim On Thu, 2001-09-20 at 09:46, Jeb Anderson Scarbrough wrote: > This seems to be a simple questions, but it is baffling me for some reason. > How do I create an if statement with multiple conditions. For example, I > cannot get either of these to work correctly: > > if(isset($REMOTE_USER) && $AUTH_TYPE='securid') { > // do something > } else { > // do something else > }

« previous php.general (#67988) next »