regg Posted May 8, 2009 Share Posted May 8, 2009 Hello, I am trying to figure out how to create a dynamic option list that shows dates from today to the end of the year and then another drop that shows a different set of times based on the date in the first. So say someone selects 5/14/09 - Friday. I then want the dropdown for time to show from 6:00AM - 9:00PM but if they choose 5/16/09 - Saturday I only want it to show 9:00AM to 3:00PM. Is there anyway to do this in PHP? Thanks. Link to comment https://forums.phpfreaks.com/topic/157300-option-list-with-date-and-time/ Share on other sites More sharing options...
glenelkins Posted May 8, 2009 Share Posted May 8, 2009 use ajax Link to comment https://forums.phpfreaks.com/topic/157300-option-list-with-date-and-time/#findComment-829347 Share on other sites More sharing options...
regg Posted May 8, 2009 Author Share Posted May 8, 2009 I have never even heard of that. I will research. Thanks for the tip. Link to comment https://forums.phpfreaks.com/topic/157300-option-list-with-date-and-time/#findComment-829808 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.