Rayne Posted March 19, 2008 Share Posted March 19, 2008 I'm creating a portfolio website for my pictures and want the buttons at the top of the page to be dynamic, depending on the amount of files in the folder that the pictures are held in. I figure i'll need a way of reading the amount of files in a folder, then create a while loop to display the buttons... but no real idea how to do this?! Any help would be much appreciated!! Link to comment https://forums.phpfreaks.com/topic/96959-dynamic-button-creation/ Share on other sites More sharing options...
helbom Posted March 19, 2008 Share Posted March 19, 2008 to count files in a folder you can use the readdir() function. On how to do the other stuff i'm not sure Link to comment https://forums.phpfreaks.com/topic/96959-dynamic-button-creation/#findComment-496165 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.