Warning: pg_query_params(): Query failed: ERROR: ")"またはその近辺で構文エラー 行 1: SELECT * FROM web WHERE year = $1 ) and ( field = $2 or ... ^ in /var/www/includes/SimpleDB.class.php on line 66

Error: SimpleDB->query(): Query failed: ERROR: ")"またはその近辺で構文エラー 行 1: SELECT * FROM web WHERE year = $1 ) and ( field = $2 or ... ^ in /var/www/html/kamoku_search.php on line 345