Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need inspiration

Status
Not open for further replies.

tnsbuff

Technical User
Jan 23, 2002
216
US
Hi,

I need help working through the simplest options for a project, and keep in mind that I'm pretty much a beginner at programming. (This is for booking reservations for tennis courts).

What I need is a "simple" way to display a one week calendar on a web page for the purpose of booking a reservation. I would like to be able to do it without using a database if at all possible since the client doesn't have database access without additional hosting fees.

I would like it to display the time such as 8:00-9:00 a.m. for a given day, and next to it have a checkbox for a person to reserve that time. (There will only be around 3 time blocks per day, and all times would be assumed available unless stated otherwise.) The availability will not really be accurate in real time since some reservations will have been made offline and the status updated once or twice a day, but this isn't a big deal.

Rather than have a database that tracks the status, I thought maybe there would be a way to have a password protected form that an employee could fill out and submit when all of the courts for a particular time are full. This would set a variable to "closed" in some file. Then either a "closed" image or text could be displayed so that someone wouldn't request that particular time on that particular day.

Obviously, the information that the employee submits would need to be stored in a text file. Basically, what I'm thinking is that the calendar pages would be created in html, with a little scripting to check the value of a variable that sets the time period to closed or open, then either display a checkbox for that time period or display "full" or whatever.

Am I on the right track, or going nowhere? :)

Thanks for any suggestions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top