if statement
| From: | Jeb Anderson Scarbrough | Date: | Thu, 20 Sep 2001 13:46:13 +0000 |
| Subject: | if statement | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-67986@lists.php.net to get a copy of this message | ||
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} OR if((isset($REMOTE_USER)) && ($AUTH_TYPE='securid')) {
// do something} else {
// do something else} Thanks. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp