No se pudo ejecutar la consulta

SELECT men_codigo, men_titulo, pag_codigo, men_posicion, men_activo, men_nivel1, men_nivel2, men_nivel3, men_nivel4, men_nivel5, men_nivel6, men_fecha,men_url FROM menu WHERE men_codigo = 

MySQL Error: 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 '' at line 1