We help IT Professionals succeed at work.
Get Started

Entering and displaying (using PHP and MySQL) predefined date and time slots on a web form

davidgm asked
Last Modified: 2013-12-12
I use PHP and MySQL and I need to set a registration web form where users can choose a schedue from pre-defined dates and times. There are 4 dates and 16 time slots for each date. Users would have to enter their personal details first and then select the day and time that suits them and submit it (into the MySQL database).

My question is, what is the best way of structuring the database and entering these predefined dates and times and then display them on the web form. I would also like to hide the date and time slots that have already been taken from the web form so new registrants do not see them.
Watch Question
This problem has been solved!
Unlock 1 Answer and 26 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE