ok thanks,
you are right. But I am doing boolean search. the code is like this..
MySQL_select_db("coas5");
if((!$all) || ($all == "")) { $all = ""; } else { $all = "+(".$all.")"; }
if((!$POST['all'] ) || ($POST['all'] == "")) { $POST['all'] = ""; } else { $POST['all'] = "+(".$_POST['all'] .")"; }
if((!$any) || ($any == "")) { $any = ""; }
if((!$none) || ($none == "")) { $none = ""; } else { $none = "-(".$none.")"; }
$query = " SELECT *,
MATCH(subject, learningArea, noofstudents, minutes, ability) AGAINST ('$all $none $any' IN BOOLEAN MODE) AS score
FROM lesson
WHERE MATCH(subject, learningArea, noofstudents, minutes, ability) AGAINST ('$all $none $any' IN BOOLEAN MODE) ORDER BY score DESC " ;
how can I edit this using LIKE syntax?
Many thanks