Error 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 menus.tipo='c' and menus_lang.cod_idioma='es' and menus.m_left=1 and menus.i' at line 1
SQL: select menus.id as id, menus_lang.titulo as titulo, menus_lang.archivo as archivo from menus left outer join menus_lang on menus.id=menus_lang.id_menu where menus.identificador= and menus.tipo='c' and menus_lang.cod_idioma='es' and menus.m_left=1 and menus.id_padre>0