Ver Mensaje Individual
  #12 (permalink)  
Antiguo 27/09/2013, 12:09
PHPeros
Colaborador
 
Fecha de Ingreso: septiembre-2013
Ubicación: España
Mensajes: 3.648
Antigüedad: 10 años, 8 meses
Puntos: 578
Respuesta: Argumentación Pseudoaleatoria tipo Rand

Pues ponlo en el el atributo src y hazle un echo.
Código PHP:
Ver original
  1. echo '<img height="300" width="400" src="$array[array_rand($array)]">';