![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
24/11/2011, 09:57
|
![Avatar de truman_truman](http://static.forosdelweb.com/customavatars/avatar342114_11.gif) | | | Fecha de Ingreso: febrero-2010 Ubicación: /home/user
Mensajes: 1.341
Antigüedad: 15 años Puntos: 177 | |
Respuesta: Mostrar numero aleatorios $numeros=array(1,1.5,2,2.5,3,3.5,4);
$cant = sizeof($numeros)-1;
echo $numero_aleatorio = $numeros[rand(0,$cant)];
__________________ la la la |