RE: [PHP] Just a small question on if statement

From: Date: Fri, 27 Jun 2003 12:55:34 +0000
Subject: RE: [PHP] Just a small question on if statement
Groups: php.general 
Request: Send a blank email to php-general+get-153109@lists.php.net to get a copy of this message
[snip] It starts as: If ($myUser == $myReturnedUser) But I want to add another so that the if statement runs only if $myUser is equal to $myReturnedUser AND $myPass is equal to $myReturnedPass. How do I do this? [/snip] if(($myUser == $myReturnedUser) && ($myPass == $myReturnedPass)){ do stuff } HTH

« previous php.general (#153109) next »