Ver Mensaje Individual
  #8 (permalink)  
Antiguo 16/05/2007, 04:30
Avatar de jerkan
jerkan
 
Fecha de Ingreso: septiembre-2005
Mensajes: 1.607
Antigüedad: 18 años, 7 meses
Puntos: 19
Re: Problema con fecha

Cita:
Iniciado por hyperrjas Ver Mensaje
$datoconsulta = mysql_query("select datediff ('fecha_end','fecha_begin') from users where fecha_end ='$fecha_end' and fecha_begin = $fecha_begin ");

o me sobra la parte esta:

where fecha_end ='$fecha_end' and fecha_begin = $fecha_begin ");
Quítale la parte del where. No veo que te haga falta. Un saludo.