Re: Re: need help

From: Date: Sun, 11 Aug 2002 14:06:39 +0000
Subject: Re: Re: need help
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-112018@lists.php.net to get a copy of this message
> From: "B.C. Lance" <lornie@magix.com.sg> > Sent: Sunday, August 11, 2002 9:53 AM > Subject: [PHP] Re: need help > to do a comparison between two values / variables, you have to use == > instead of = > = is an assignment while == is a comparison operator > > if($row['gid'] == 0) I write these this way so that the php parser nags me about it if I forget the other equal sign: if(0 == $row['gid'])

« previous php.general (#112018) next »