Error en consulta: SELECT i.nombre, cc.caloria FROM ingredientes i, porciones p, calorias cc WHERE cc.id_ingrediente = i.id_ingrediente AND p.id_porcion = 9 AND i.id_ingrediente = : Descripcion: 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 '' at line 3