mySQL select statement with mulitple where definitions

From: Date: Wed, 16 Jan 2002 18:57:41 +0000
Subject: mySQL select statement with mulitple where definitions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-80794@lists.php.net to get a copy of this message
someone here has to know the syntax for using multiple items in a where definition, something like: $values = 120106,120095; $sql = "SELECT * FROM products WHERE catalognumber = $values ORDER BY price"; Does this make sense, » Michael Krisher mike@hyperquake.com

« previous php.general (#80794) next »