Ver Mensaje Individual
  #4 (permalink)  
Antiguo 24/01/2010, 09:19
Avatar de xbx
xbx
 
Fecha de Ingreso: mayo-2008
Ubicación: /home/xbx
Mensajes: 301
Antigüedad: 16 años
Puntos: 11
Respuesta: Anuncios aleatorios y no duplicados

Código PHP:
$cantidad file_get_contents("ads/cant.txt");
$ads_cant=$cantidad>6?6:$cantidad;
$ad range(0,$ads_cant);
$ad shuffle($ad); 
La simplicidad ante todo.