Re: sql query question

From: Date: Thu, 12 Feb 2004 21:05:16 +0000
Subject: Re: sql query question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-177543@lists.php.net to get a copy of this message
This is a SQL question, rather than a PHP question, so I would suggest doing a google search on SQL tutorials, but I think what you are trying to do would work like this: SELECT * FROM table WHERE descript LIKE '%new%' OR descript LIKE '%car%' Tony wrote:
hi if i have new car and i want to search each word in description can i do SELECT * FROM table WHERE descript = "new" OR descript ="car"?? any help is appreciated


« previous php.general (#177543) next »