Error al obtener registro de la tabla
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 'and sec_menu=1
ORDER BY sec_orden' at line 3
La Consulta es:
SELECT *
FROM ssecciones
WHERE sec_publicar = 1 and sec_id = and sec_menu=1
ORDER BY sec_orden