bsod Posted May 3, 2010 Share Posted May 3, 2010 I am working on a page that will show a slideshow of photos on 4 monitors. No issue there. Where I am running into an issue, is with the selection of the photos to show. Throughout the day, photos are added to a folder for that day's photos. However, I want to show in the screenshow only the photos taken between 30-60 minutes ago. Recycling those 30 minutes until I set the page to refresh at the top and the bottom of the hour. Any thoughts? Link to comment https://forums.phpfreaks.com/topic/200590-datetime-selection-in-code/ Share on other sites More sharing options...
litebearer Posted May 3, 2010 Share Posted May 3, 2010 make a timestamp field in your db table. use that to determine if the photo is withon your time frames Link to comment https://forums.phpfreaks.com/topic/200590-datetime-selection-in-code/#findComment-1052606 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.