Okay, as I mentioned, ive noticed this comes up a lot... And i realize that your patience is short because this is my first post... Im just hoping im not the only one on this forum guilty of noobishnes... Anyway, moving on... I've been working on a site, and I've been thinking on what would be the easiest way to display pictures, and being able to constantly update them. As horribly worded as that was, i will try to keep explaining. If i had named all my pictures... 001(directoryname).jpg or something like that, and dumped them all into a folder, which's index has a variable like $amount , and a call to a template php file... How would i go about getting a loop to run as many times as the variable $amount, and echo a code to display them at some point in the page.... Earlier i had been working with arrays, but this solution seems better, if its possible.. Oh and if this description is to hard to work from, just complain, and I'll try to word things better, or throw in diagrams, and bits of code to get my point across... Anyway, and help is much appreciated, and dont worry to much about this, as its no big deal, and there are more important things to work at. If you have some free-time though, it would be pretty nice if anyone might wanna look at this a bit