Mysql me esta enviando el siguiente error.
este es el echo de selcte.
select p1.Nombre as id_Cliente, p2.Nombre,p3.Fecha as Fecha,p4.Nombre as producto from tblclientes as p1, tblempleados as p2, tbl_op as p3,tblproducto as p4,tblproducciones as p5 where '2009-04-11' <= p3.Fecha and p3.Fecha <= '2009-04-11' and and p3.id_op=17 p2.Id_Empleado=p3.Id_Empleado and p4.id_Producto=p5.id_Producto and p3.id_op=p5.id_op order by p3.Fecha
y este es el error que me esta enviando
#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 p3.id_op = 17 p2.Id_Empleado = p3.Id_Empleado and p4.id_Producto = p5.id_Pro' at line 1