Searching Database PHP Mysql

calvinyellow

New Member
I know most of the time people just do a \[code\]LIKE '%$search_query%'\[/code\]but see the thing is, in my case someone may be searching for things likethat cow is fatnow, the thing is in my database i wouldnt be storing it exactly as "the cow is fat" i'd be storing it something like "fat cow" so using \[code\]LIKE '%$search_query%'\[/code\]wouldn't work.Can anyone point me in the right direction for an efficient way to search my database like I have explained?Thanks
 
Back
Top