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 'WHERE ID='' ORDER BY CreationDate DESC LIMIT 50' at line 1 in /home/mozaiifu/public_html/api/fetch.php:337 Stack trace: #0 /home/mozaiifu/public_html/api/fetch.php(337): mysqli_query(Object(mysqli), 'SELECT * FROM ...') #1 /home/mozaiifu/public_html/share.php(10): returnData('', 'WHERE ID=''', Object(mysqli)) #2 {main} thrown in /home/mozaiifu/public_html/api/fetch.php on line 337