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