|
Have a room_number and booked table in the MySQL database. The room_number table would hold all the room numbers, and the booked table could hold some booking information when the form is submitted.
Your webpage would run a query and display only the rows that have no information in the booked table. So if room 234 is booked it doesn't show up, if the reservation is cancelled then the booked table becomes empty and will then display the room as being available.
__________________
Leonard Whistler
|