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/roypackers/public_html/front_functions.php:18 Stack trace: #0 /home/roypackers/public_html/front_functions.php(18): mysqli_query(Object(mysqli), 'select * from s...') #1 /home/roypackers/public_html/city.php(50): single_state_f(NULL) #2 {main} thrown in /home/roypackers/public_html/front_functions.php on line 18