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 /mnt/datastoreNFS/ProgramesFront/html/sp3/mainframe.php:209 Stack trace: #0 /mnt/datastoreNFS/ProgramesFront/html/sp3/mainframe.php(209): mysqli_query(Object(mysqli), 'select id from ...') #1 {main} thrown in /mnt/datastoreNFS/ProgramesFront/html/sp3/mainframe.php on line 209