Fatal error: Uncaught mysqli_sql_exception: 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 '' at line 1 in /home/bethelin/public_html/db/db_mysqli.php:145
Stack trace:
#0 /home/bethelin/public_html/db/db_mysqli.php(145): mysqli_query(Object(mysqli), 'Select Code Fro...')
#1 /home/bethelin/public_html/include/functions.php(362): DB_Sql->query('Select Code Fro...')
#2 /home/bethelin/public_html/include/class.getpage.php(87): getFieldData('bethelin_cartpa...', Array, Array, 'Code', 1, Array)
#3 /home/bethelin/public_html/inc-idx.php(14): getPage->__construct(1, Object(DB_Sql), 1, false)
#4 /home/bethelin/public_html/index.php(8): include('/home/bethelin/...')
#5 {main}
thrown in /home/bethelin/public_html/db/db_mysqli.php on line 145