Notice that if a user enters
in the search field
SELECT * FROM table WHERE question LIKE "%life anger%" none of the
>>  How do you deal with anger?
>>  Ever been full of anger in your life?
>>  Is life always easy?
will match. For that you must split the query by " " and perform a
SELECT * FROM table WHERE question LIKE "%life%" OR question LIKE
or possibly change the OR with a AND.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]