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
> }



-- 
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]

Reply via email to