Re: PHP AND OR
- From: "PaulB" <pbird@xxxxxxxxxxxx>
- Date: Fri, 28 Mar 2008 16:00:44 -0000
SrSilveira wrote:
On Mar 28, 12:50 pm, "PaulB" <pb...@xxxxxxxxxxxx> wrote:
Hello, newbie looking for some help pleasethat?!
In the following do I have to use two if else structures or can I
use a boolean funtion in the 'if' because I want to check two
variables not one.
if ($found == 0) AND ($whatever == 0)
{
//Do it}
else
{
//Do nothing
}
Paul
if ($found == 0 && whatever == 0)
{
//do it
}
else
{
//do not do it
}
http://www.php.net/manual/en/language.operators.php
Thank you.
.
- References:
- PHP AND OR
- From: PaulB
- Re: PHP AND OR
- From: SrSilveira
- PHP AND OR
- Prev by Date: Re: how gmail hide http referrer?
- Next by Date: Re: how gmail hide http referrer?
- Previous by thread: Re: PHP AND OR
- Next by thread: newbie: move_uploaded_file fails
- Index(es):