Re: Eh

From: Date: Thu, 24 Aug 2000 14:56:30 +0000
Subject: Re: Eh
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-2327@lists.php.net to get a copy of this message
hi, you have to use if ($cmbProducts == "Unkown") // cause with = you asign "Unknown" to $cmbProducts _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/_/ viva technologies _/ gstrein andreas "Always listen to the experts; they'll tell you what can't be done and why. Then do it." - Robert A. Heinlein ----- Original Message ----- From: "Jeroen ten Berge" <j.ten.berge@getexo.nl> To: "Php-Db" <php-db@lists.php.net> Sent: Thursday, August 24, 2000 4:59 PM Subject: [PHP-DB] Eh > Can some one help me with this one ? > Via an HTML_POST_VARS I get this value from a combo box (named cmbProducts), > now if i do an if like : > if ($cmbProducts="Unkown") > It overwrites $cmbProducts with "Unknown" !!! > > Anyone knows this ? > > Regards, > Jeroen. > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#2327) next »