Hi,
I have been asked to make a booking sheet for rooms in my school.
How do you say create a file with the date (with PHP) (20/09/06 or something) like booking_20.09.06.txt
And the txt file will be like:
And then if you plan to book the room (C1) you will submit a form saying:Code:[c1] pd1=0 pd2=1 [c4] pd1=0 pd2=1
and if the text file says: "pd1=1" it will say "Sorry, booked." and if it says "pd1=0" it will change to 1 and say "Successfully booked."Code:Room: C1 Time: PD1 Name: John Smith
and every day to will check to see if the text file has been created and if not create a new one.
And then if you want you can click "Times Booked" and it will show you the list of bookings like
Hope you don't get confusedCode:PD1 = Booked PD2 = Not Booked
Anyone know the solution?
Thanks,
Peter




Reply With Quote
No it isin't - It's just credit for me from the school - And I DON'T get paid 

Bookmarks