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 E:\xampp\htdocs\ojqfinancime\exportdata.php:24 Stack trace: #0 E:\xampp\htdocs\ojqfinancime\exportdata.php(24): mysqli_query(Object(mysqli), 'SELECT ClientSQ...') #1 E:\xampp\htdocs\ojqfinancime\exportdata.php(386): explodemulti('', 'ClientSQ', 'of_importbenefi...', Object(mysqli)) #2 {main} thrown in E:\xampp\htdocs\ojqfinancime\exportdata.php on line 24