Return to Snippet

Revision: 12279
at March 9, 2009 04:06 by dsntos


Initial Code
<?php
                $dir = "assets/images/";
                foreach (glob($dir . '/*') as $filename) {
                   echo "<img src='" . $filename . "'><br/>";
            }

Initial URL

                                

Initial Description

                                

Initial Title
List all images from directory

Initial Tags
php, image, directory

Initial Language
PHP