With input given to the search box as: \ Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near "0" at character 50 in /home/umerchan/public_html/dev/lib/functions/dataaccess.inc.php on line 57 Warning: pg_fetch_all() expects parameter 1 to be resource, boolean given in /home/umerchan/public_html/dev/lib/functions/form/search.inc.php on line 193 Warning: array_slice() [function.array-slice]: The first argument should be an array in /home/umerchan/public_html/dev/lib/functions/form/search.inc.php on line 196 Warning: array_slice() [function.array-slice]: The first argument should be an array in /home/umerchan/public_html/dev/lib/functions/form/search.inc.php on line 197 With input given as: \\ Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near "\" at character 1177 CONTEXT: PL/pgSQL function "productlistingSearch" line 65 at open in /home/umerchan/public_html/dev/lib/functions/dataaccess.inc.php on line 57 Warning: pg_fetch_all() expects parameter 1 to be resource, boolean given in /home/umerchan/public_html/dev/lib/functions/form/search.inc.php on line 193 Warning: array_slice() [function.array-slice]: The first argument should be an array in /home/umerchan/public_html/dev/lib/functions/form/search.inc.php on line 196 Warning: array_slice() [function.array-slice]: The first argument should be an array in /home/umerchan/public_html/dev/lib/functions/form/search.inc.php on line 197