Forum Moderators: coopster
>>>Would I just upload the "Date" & "Time" manually through a text file?
As for this, you definitely would not do this manually--that is the work of the computer. PHP comes with nice Date/Time Functions [us2.php.net].
Basically here are the steps you want to take:
1) Retrieve information for the current day (getting the date using PHP ;)) from the database. Example query: SELECT * from 2006 where date = NOW();
2) Print this information to the browser, and at the end, have a submit button that allows someone to book a time for that day.
3)At this point, you have to program what will happen after they hit the submit button, which it will most likely go to another processing page where the time can be reserved. This page will first verify that the reserve button wasn't pushed (more on that in a sec), and then will display a form allowing the user to book a time. I would use a drop-down menu for this. You may also want to require the user to login at one point in this ordeal.
4)After the user submits the reserve form via the "reserve button" (i told you one sec ;)), the script will then check to see if the time hasn't been taken already, and if it isn't taken, then it will add the information to the database. If it is taken, then it will let the user know so.
Umm...well..that's pretty much it...I haven't reread what i just wrote so there may be some errors. I wish you luck!