Jump to content

ajax select menus and php/mysql?


mrbuter

Recommended Posts

Hey guys..tried googling but I normally get more help here.

 

I'm trying to setup a page where users select a date from a dropdown menu and then the server queries a database to return valid times of the day associated with the selected date.

 

Think of it as a reservation system I guess. If user 1 reserves something for March 2nd 2009 @ 5PM then User 2 can't reserve it for that same time so the server shouldn't show "5PM" on the 2nd dropdown menu (and ideally will have like a +/- 2 hours along with that but that's unrelated and I know how to do that part).

 

It's the ajax that's confusing me because I haven't really ever worked with it. Thanks in advance!

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.