Tema
:
hacer random en un array
Ver Mensaje Individual
#
12
(
permalink
)
17/01/2009, 23:07
Ronruby
Fecha de Ingreso: julio-2008
Ubicación: 18°30'N, 69°59'W
Mensajes: 4.879
Antigüedad: 16 años, 7 meses
Puntos: 416
Respuesta: hacer random en un array
Código PHP:
<?php
$array
= array(
1
,
2
,
3
,
4
,
5
,
6
);
shuffle
(
$array
);
print_r
(
$array
);
?>
Ronruby
Ver Perfil
Buscar todos los Mensajes de Ronruby