[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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php