Re: Re: need help
| From: | B.C. Lance | Date: | Sun, 11 Aug 2002 14:17:06 +0000 |
| Subject: | Re: Re: need help | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112021@lists.php.net to get a copy of this message | ||
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>