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 Activiti...') #1 E:\xampp\htdocs\ojqfinancime\exportdata.php(388): explodemulti('', 'ActivitiesSQ', 'of_importactivi...', Object(mysqli)) #2 {main} thrown in E:\xampp\htdocs\ojqfinancime\exportdata.php on line 24