sql problem

From: Date: Mon, 18 Mar 2002 06:15:16 +0000
Subject: sql problem
Groups: php.db 
Request: Send a blank email to php-db+get-17724@lists.php.net to get a copy of this message
i want an sql statment that select from table where prefer has the word auction or cash i tried: $sql="select * from products where prefer like '%cash%' "; and it worked biut i tried: $sql="select * from products where prefer like '%cash%' or prefer like '%auction%' "; but didn't work !!! Rehab M.Shouman ------------------------------------------------------------ ------------------------------------------------------------ --------------------------------------------------------------------- Express yourself with a super cool email address from BigMailBox.com. Hundreds of choices. It's free! http://www.bigmailbox.com ---------------------------------------------------------------------

« previous php.db (#17724) next »