Error en la sentencia SQL: (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 sub.Id_Categoria = cat.Id
AND cat.Id_Zona = zon.Id' at line 7
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /home/escudo5/public_html/escudos.php:105
Stack trace:
#0 {main}
thrown in /home/escudo5/public_html/escudos.php on line 105