Warning: Undefined variable $idCidade in /home/storage/6/60/2c/viajandar1/public_html/estabelecimento.php on line 39

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 '' at line 1 in /home/storage/6/60/2c/viajandar1/public_html/estabelecimento.php:40 Stack trace: #0 /home/storage/6/60/2c/viajandar1/public_html/estabelecimento.php(40): PDO->query('SELECT * FROM M...') #1 /home/storage/6/60/2c/viajandar1/public_html/globals.php(214): include('/home/storage/6...') #2 /home/storage/6/60/2c/viajandar1/public_html/index.php(4): include_once('/home/storage/6...') #3 {main} thrown in /home/storage/6/60/2c/viajandar1/public_html/estabelecimento.php on line 40