yes this is a problem,  You should strip % from the user input and add
it your self to the SQL code and don't do the serach if not user input
(after strippting)

ie

$searchstring = str_replace("%","", $originalSearchText)

$sql = "select * from ........ where ... like '% ".$searchstring ."%'
";

Reply via email to