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 '' at line 1 in /home/somethi2/public_html/details.php:8 Stack trace: #0 /home/somethi2/public_html/details.php(8): mysqli_query() #1 {main} thrown in /home/somethi2/public_html/details.php on line 8