Ver Mensaje Individual
  #9 (permalink)  
Antiguo 14/05/2014, 01:15
Avatar de Eleazan
Eleazan
 
Fecha de Ingreso: abril-2008
Ubicación: Ibiza
Mensajes: 1.879
Antigüedad: 16 años
Puntos: 326
Respuesta: recorrer array php

PD: No es más sencillo así?

Código PHP:
$nota =$_GET['N'];
$array explode(",",$nota);
$path "public/img/notas";
 
foreach (
$array as $key => $v) {
echo 
'<img src="'.$path.'/'.$v.'.png">';

PD: Si envias la nota 10, tu script falla ;)
__________________
>> Eleazan's Source
>> @Eleazan