Jump to content

Option list with date and time


regg

Recommended Posts

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.