PetHappy

(1 Productos)

Error description: 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 publicado = 1 ORDER BY posicion ASC, nombre ASC limit 10' at line 1

SELECT id, nombre FROM categorias WHERE linea_id = AND publicado = 1 ORDER BY posicion ASC, nombre ASC limit 10