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