Re: Query syntax

From: Date: Sat, 15 Sep 2007 19:49:13 +0000
Subject: Re: Query syntax
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-44014@lists.php.net to get a copy of this message
If I understood you correctly (and I'm not sure I did), this should do it $query="SELECT * FROM table WHERE listing_type LIKE '%$listing_type%' AND listing_approved IN( '1' ,'2') ORDER BY name ASC"; -- Niel Archer

« previous php.db (#44014) next »