ahhh. let the parser do the check. works great if you are not comparing 
with 2 variables :)

in fact, another way to avoid this kinda pitfall, switch is another 
alternative. but of course, switch has its pitfall too. <break> ;)

<snip>
Matt wrote:
> if(0 == $row['gid'])
> 
> 
> 
</snip>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to