In PHP, how can I combine 2 if's?

Ethan

New member
I want to combine 2 if's, sort of like this:

<?php
if (something == something) AND (somethingelse ==somethingelse)
{
echo "something";
}
else
{
echo "somethingelse";
}
?>
Thanks liberal, I didn't know it was that easy. I'll give you the 10 points, even though I'm a conservative :p.
 
Back
Top