![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
10/02/2016, 18:00
|
| | Fecha de Ingreso: febrero-2016
Mensajes: 9
Antigüedad: 9 años Puntos: 0 | |
Respuesta: Max(ID_U) Error $sqldatos=mysqli_query($con,"select id_u from usuarios order by id_u DESC");
while($miArray[]=$sqldatos){
echo array_rand($miArray);
}
De esta manera se me crea un bucle infinito, ¿Cómo puedo hacer para que solo obtenga un valor al azar? |