Ver Mensaje Individual
  #5 (permalink)  
Antiguo 22/08/2012, 11:17
PepeF
 
Fecha de Ingreso: julio-2012
Mensajes: 276
Antigüedad: 11 años, 9 meses
Puntos: 27
Respuesta: consulta mysql por fecha

Cita:
Iniciado por mogurbon Ver Mensaje
a ver si te capie bien creo va por aqui el asunto


Código PHP:
Ver original
  1. $fecha=date("Y-m-d")
  2. $qSearch="select TIME(fecha) as hora,idvisitante,idvisita,tipo,asunto from visita where fecha like '%$fecha%' ";
Código PHP:
Ver original
  1. $fecha=date("Y-m-d")
  2. $qSearch="select TIME(fecha) as hora,idvisitante,idvisita,tipo,asunto from visita where fecha like '$fecha' ";
Tenias 1 cosita mal