Re: Just a small question on if statement

From: Date: Fri, 27 Jun 2003 12:55:11 +0000
Subject: Re: Just a small question on if statement
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-153108@lists.php.net to get a copy of this message
if($myUser == $myReturnedUser && $myPass == $myReturnedPass) { } On Fri, 2003-06-27 at 08:51, Gary Ogilvie wrote: > Hi everyone, > > I want to make an if statement that works only if the 2 conditions are > correct > > 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? > > Thanks a lot =) > > Gary -- Adam Voigt (adam@cryptocomm.com) Linux/Unix Network Administrator The Cryptocomm Group

« previous php.general (#153108) next »