[PHP] mySQL select statement with mulitple where definitions

2002-01-16 Thread Mike Krisher
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 [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] mySQL select statement with mulitple where definitions

2002-01-16 Thread mike cullerton
on 1/16/02 11:57 AM, Mike Krisher at [EMAIL PROTECTED] wrote: 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; select * from products