Closed ifigueroap closed 8 years ago
I had a table with a field named 'order', which triggered a SQL syntax error. You should change:
$whereClause = $whereClause . " " . $col . " LIKE '%". $searchValue ."%'";
to
$whereClause = $whereClause . " '" . $col . "' LIKE '%". $searchValue ."%'";
Notice the extra quotation around $col
$col
This is a duplicate of #91
I had a table with a field named 'order', which triggered a SQL syntax error. You should change:
to
Notice the extra quotation around
$col