Información General
error1: 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 m.titulo = ''
group by p.nombre order by m.orden asc' at line 5 sql= select p.*, m.*, p.maps from modelos m join pais p join ciudad c
on (m.idciudad = c.id or m.idpais = p.id )
and c.idpais = p.id
and m.id_prod =
and m.titulo = ''
group by p.nombre order by m.orden asc