I'm trying to display all the images inside a certain directory. Here's what I have so far...
<?php
$dir1 = "001/"; $images1 = scandir($dir1);
$i1 = sizeof($images1);
foreach ($images1 as $value)
{ echo "<img src='001/" . $images1[$i1]; . "' alt='' />" }
?>