RE: [PHP-DB] if ($key !=

From: Date: Tue, 28 Jan 2003 05:39:33 +0000
Subject: RE: [PHP-DB] if ($key !=
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-25192@lists.php.net to get a copy of this message
> hello and presumably, thank you again... > i have quite a few fields from different forms that are not > required and almost as many that are so i have opted to go with > if ($key != "middle_name") format. > in using this can i separate the different fields like so if > ($key != "'middle_name','address','etc.'") > or must i do this: if ($key != "middle_name" and $key != "address" > and $key != "etc." ) Yes, you must do that (second option). ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/

« previous php.db (#25192) next »