Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/08/2009, 18:23
Avatar de TheoriaX
TheoriaX
 
Fecha de Ingreso: agosto-2009
Ubicación: Hermosillo, Sonora
Mensajes: 217
Antigüedad: 14 años, 8 meses
Puntos: 5
Respuesta: Guardar contenido en cookie

$sql=mysql_query("SELECT time FROM tabla where usuario='$var'");
while($datos=mysql_fetch_array($sql))
{
$time=$datos['time'];
}
setcookie("usuario",$var,$time);

a ver si te ayuda