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 MariaDB server version for the right syntax to use near 'and activo = 1' at line 1 in /home/z5tqn87xrgr5/public_html/QR/datos_comercio.php:9
Stack trace:
#0 /home/z5tqn87xrgr5/public_html/QR/datos_comercio.php(9): PDOStatement->execute()
#1 /home/z5tqn87xrgr5/public_html/QR/index.php(6): include('/home/z5tqn87xr...')
#2 {main}
thrown in /home/z5tqn87xrgr5/public_html/QR/datos_comercio.php on line 9