RE: [PHP] Just a small question on if statement - Solved
| From: | Gary Ogilvie | Date: | Fri, 27 Jun 2003 12:54:18 +0000 |
| Subject: | RE: [PHP] Just a small question on if statement - Solved | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153110@lists.php.net to get a copy of this message | ||
Thanks that is great!!
-----Original Message-----
From: Adam Voigt [mailto:adam@cryptocomm.com]
Sent: 27 June 2003 13:55
To: Gary Ogilvie
Cc: 'PHP General'
Subject: Re: [PHP] Just a small question on if statement
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