Ver Mensaje Individual
  #4 (permalink)  
Antiguo 14/07/2009, 13:42
Avatar de a83
a83
 
Fecha de Ingreso: noviembre-2005
Ubicación: Santiago de chile
Mensajes: 637
Antigüedad: 18 años, 5 meses
Puntos: 1
Respuesta: como muetsro resultados por fecha actual

esta es la consulta

Código PHP:
SELECT e.Nombret.Turnop.Hora
FROM tbltratos 
AS ptblempleados AS etbltipoturno 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