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)
{
}
[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
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
3 matches
Mail list logo