esta es la consulta
Código PHP:
SELECT e.Nombre, t.Turno, p.Hora
FROM tbltratos AS p, tblempleados AS e, tbltipoturno AS t
WHERE e.Id_Empleado = p.Id_Empleado
AND t.id_TipoTurno = p.id_TipoTurno
where p.Fecha = NOW() order by p.Fecha
y me esta enviando el siguiente 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 'where p.Fecha = NOW( ) order by p.Fecha
LIMIT 0, 30' at line 1