What is the correct way to write the first line in PHP?
if ($a > $b and $c<$d) {code} else {code}
if ($a > $b && $c<$d)
for your own understanding it may be better to add parenthesis: if (($a > $b) && ($c<$d))
so you know that you're not doing if ($a> ($b && ($c<$d)))
Thanx, so simple if you know it.
Btw. I think you should take a look at this URL :
http://www.kobox.dk/tube/optimizations/if.html