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 11 in /home/gemsny/public_html/lib/myclassi.php:81 Stack trace: #0 /home/gemsny/public_html/lib/myclassi.php(81): mysqli_query(Object(mysqli), 'SELECT gems_ite...', 1) #1 /home/gemsny/public_html/script/phpscript/diamond_details.php(45): myclassi->select('SELECT gems_ite...') #2 /home/gemsny/public_html/index.php(48): include_once('/home/gemsny/pu...') #3 {main} thrown in /home/gemsny/public_html/lib/myclassi.php on line 81