Ver Mensaje Individual
  #3 (permalink)  
Antiguo 14/01/2006, 06:37
Avatar de uamistad
uamistad
 
Fecha de Ingreso: diciembre-2004
Ubicación: Cd. de México
Mensajes: 1.395
Antigüedad: 19 años, 4 meses
Puntos: 1
otra forma

Tu problema está resuelto en tres líneas.

Código PHP:
$imagenes=array("img1.jpg","img2.jpg", ...
srand (time()); //para PHP 4.2.0 ya no es necesario llamar a srand
shuffle ($imagenes); //ya están aleatoriamente los elementos