The query builds the search string with double-quotes. If the server is running
with ansi_quotes in the SQL mode, this will result in an error. Use single
quotes instead:
$search_sql .= '`'.$collum[$j]['Field'] .'` like "%'.$search_text.'%" ';
should be
$search_sql .= '`'.$collum[$j]['Field'] .'` like \'%'.$search_text.'%\' ';
Original issue reported on code.google.com by sno...@gmail.com on 2 Oct 2010 at 2:09
Original issue reported on code.google.com by
sno...@gmail.com
on 2 Oct 2010 at 2:09