Once it is in the folder on my local server is there a way that i can output the images to a div on a desired page without sql
You’ll have to hard code it…
[php][/php]
For example
[php][/php]
If you upload to a unique dir (or want to show all images) you could do this
[php]<?php
$images = array();
$imageDir = opendir(‘images’);
if ($imageDir) {
while (($file = readdir($imageDir)) !== false && $file !== ‘.’ && $file !== ‘…’) {
$images[] = ‘images/’ . $file;
}
closedir($imageDir);
}
foreach ($images as $image) { ?>
Or just:
[php]foreach(glob(‘images/.’) as $image) {
echo ’
';
}[/php]