Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND
categories.categoryID = markers.categoryID LIMIT 1' at line 2 in /home/odyssea/www/data/v6/index.php:330
Stack trace:
#0 /home/odyssea/www/data/v6/index.php(330): mysqli_query(Object(mysqli), 'SELECT markers....')
#1 {main}
thrown in /home/odyssea/www/data/v6/index.php on line 330