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 'between carat_min and carat_max' at line 1 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 price fr...', 1) #1 /home/gemsny/public_html/script/phpscript/functions/myo.php(332): myclassi->select('select price fr...') #2 /home/gemsny/public_html/script/phpscript/preset_new/detail.php(162): getGIACost(NULL, 'S', 225, '19') #3 /home/gemsny/public_html/index.php(48): include_once('/home/gemsny/pu...') #4 {main} thrown in /home/gemsny/public_html/lib/myclassi.php on line 81