I have a field in my table for description. It is a blob field.
I want a SQL statement that will do a search on the description field and return all relevant records.
Example records:
record 1 =
description - "are you having a wonderful day"
record 2
description - "are you having a bad day"
Variable I am using
$keywords = "are bad";
My SQL statement looks like this:
$qString = "Select * from my_table where description LIKE '%$keywords%') order by itemid";
Now, no records are being returned when both above records should. If I just put 'bad' in $keywords, then the one record returns. Likewise if i put "are", then the two records return. But if I put "are bad" - no records return.
Hope this made sense.
Brian