loren646 Posted March 22, 2013 Share Posted March 22, 2013 (edited) I have several folders of photos neatly organized. All photos have different names but end in .jpg. Folder could be called 03, 04, tom, jen, empire, etc if user clicks 03 link all photos would be shown in the 03 folder for example: http://www.lukeandleroy.com/wp-content/uploads/2011/03/ i want a page to show all in that folder whether there is 1 or 20 pics and regardless of name of photo. Edited March 22, 2013 by loren646 Quote Link to comment https://forums.phpfreaks.com/topic/276030-is-this-php-not-really-sure-how-to-do-this/ Share on other sites More sharing options...
Barand Posted March 22, 2013 Share Posted March 22, 2013 use glob to get the image filenames then create an HTML img tag for each file Quote Link to comment https://forums.phpfreaks.com/topic/276030-is-this-php-not-really-sure-how-to-do-this/#findComment-1420396 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.