07-16-2008, 09:26 PM
|
#9 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
I think what he's trying to say is that;
PHP Code:
if ($condition == this && $condition == that) ....
// is the exact same thing as doing
if ($condition == this) { if ($condition == that) .....
The only time it would make a real difference is if you need to run an operation after the first condition is met and before the second is checked.
-m
|
|
|
|