PHP AND OR



Hello, newbie looking for some help please

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


.