how to do a mysql search for the following scenario?
search term example: great state
Mysql field,
- row 1 contains: great, city
- row 2 contains: awesome state
- row 3 contains: great state, and city
So, on search, over the given term, it shud give me all the three rows above.
what I want to achieve is, mysql shud search for the words in my search term, and if any word is found in the field, show it....
the mysql fields may contain a comma between words or may not contain.....
Also, cannot use full text feature, cause that requires the table engine to be myisam, and i cannot have myisam engine because i need to use foreign key relations on my tables