RE: [PHP-DB] Eh

From: Date: Thu, 24 Aug 2000 15:59:08 +0000
Subject: RE: [PHP-DB] Eh
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-2330@lists.php.net to get a copy of this message
If I do an echo $cmbProducts I get a result like "12345" or "Unknown", in case of "Unknown" it should run the if procedure otherwise not... -----Original Message----- From: joe@jWebMedia.com [mailto:joe@jWebMedia.com] Sent: Thursday, August 24, 2000 17:34 Cc: Php-Db Subject: Re: [PHP-DB] Eh How are you getting the info from HTTP_POST_VARS? are you use that $cmbProducts even has a value? To test for the variable, you probably are going to need to do something like: if($HTTP_POST_VARS[cmbProducts] == "Unknown") { stuff here; } Joe -- 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 (#2330) next »