Quote:
Originally Posted by Chompy
And it could even just be
PHP Code:
if (temp.Online) {
...
}
|
This is preferred. All if statements are evaluating the condition and then comparing it to 0, so bool == true/false is in fact doing twice as many checks: (bool == true/false) != false.