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 7 in /home/dueclix/public_html/service-details.php:120 Stack trace: #0 /home/dueclix/public_html/service-details.php(120): mysqli_query(Object(mysqli), 'SELECT userID, ...') #1 {main} thrown in /home/dueclix/public_html/service-details.php on line 120