Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND okflag=1 ORDER BY id LIMIT 1' at line 1 in /home/bikezcom/domains/common/database.php:36
Stack trace:
#0 /home/bikezcom/domains/common/database.php(36): mysqli->query()
#1 /home/bikezcom/domains/common/database.php(45): mysql()
#2 /home/bikezcom/domains/bikez.com/public_html/bike/ratinginc.php(517): GetSingleDbValue()
#3 /home/bikezcom/domains/bikez.com/public_html/rating/yamaha_fj_1200_1987.php(1): include('...')
#4 {main}
thrown in /home/bikezcom/domains/common/database.php on line 36