Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND ( con_id=) ORDER BY sortnum ASC LIMIT 12' at line 1' in /home/walkerco/public_html/function/sql_layer.php:71 Stack trace: #0 /home/walkerco/public_html/function/sql_layer.php(71): PDOStatement->execute(Array) #1 /home/walkerco/public_html/function/datafill.class.php(53): sql_query('SELECT * FROM s...', Object(PDO)) #2 /home/walkerco/public_html/works_detail.php(28): doSql->exe(Array) #3 {main} thrown in /home/walkerco/public_html/function/sql_layer.php on line 71