<html> <body> <?php foreach ($imagenes as $imagen) ?> <img src=<?php echo $imagen ?> name=foto1> </body> </html>