Hi all, Im wanting to make a 'picture of the week' script, kind of like this..
There will be a form that has a text area and a combo box
What Im wanting to do is have a loop go through all of /images/POW and put every file that ends in THUMB.jpg (thumbnail) into the box.
Ive never made a loop, but I do know how to tell if the end is THUMB.jpg using
if (substr("the loop returns something here",-9) == "THUMB.jpg") {
.. put it to the combo box
}
But I have looked for something like findfile() or so, but Im having no luck.
Any help would be appreciated, and sorry for all the questions, Im trying to find the anwsers before I post 😐