Yo de ti introduciria el tiempo mediante la funcion time();
Prueba esto:
Código PHP:
<?
$time = time()-84600; //los segundos que tiene un dia;
$select = "Select * from tu_bd where hora >".$time;
$a = msql_query($select);
while($dato = mysql_fetch_array($a))
{
echo $dato[hora];
}
?>
www.elfriki.net
Punto de encuentro para frikis de toda la red.