Warning: Undefined array key "x" in /home/leproso/public_html/enter_town.php on line 8

Warning: Undefined array key "y" in /home/leproso/public_html/enter_town.php on line 9

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 mg.y =' at line 4 in /home/leproso/public_html/enter_town.php:19 Stack trace: #0 /home/leproso/public_html/enter_town.php(19): mysqli_query(Object(mysqli), 'SELECT mg.map_e...') #1 {main} thrown in /home/leproso/public_html/enter_town.php on line 19