Thanks that is great!!

-----Original Message-----
From: Adam Voigt [mailto:[EMAIL PROTECTED] 
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 ([EMAIL PROTECTED])
Linux/Unix Network Administrator
The Cryptocomm Group


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to