Morningstar
New Member
Hi everyone,
These might be noob questions, but if you don't ask you never learn.
I'm trying to get a site to dynamically build a menu based on the number of files in a folder. For example, I have 6 files in my folder images. I would therefore like a menu with 6 links. If I place a new image in the folder the list should have 7 links.
The next thing is that these images should be loaded into a viewer (I usually use an I frame so I don't have to reload the entire page).
Does anyone know how to do this? I prefer doing this is PHP as I do know how this works, but it's been a very long time since I've actually needed to create something.
Thanks,
Paul
These might be noob questions, but if you don't ask you never learn.
I'm trying to get a site to dynamically build a menu based on the number of files in a folder. For example, I have 6 files in my folder images. I would therefore like a menu with 6 links. If I place a new image in the folder the list should have 7 links.
The next thing is that these images should be loaded into a viewer (I usually use an I frame so I don't have to reload the entire page).
Does anyone know how to do this? I prefer doing this is PHP as I do know how this works, but it's been a very long time since I've actually needed to create something.
Thanks,
Paul