> From: "B.C. Lance" <[EMAIL PROTECTED]> > 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']) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php