im having troube figuring this out :-[
iv got a select menu where the user puts how many people are being booked in
menu where they select the time which they want to book in at,
every person gets booked in for 1 hour
and here is what im trying to do,
if 1 person gets booked in at 9pm
9pm is added to the data base and cant be used again on that date
and if someone books say for example 3 people in (which is 3 hours) at 4pm which will take use to 7pm
how would i add 4 pm, 5pm, 6pm to the database as they are now unavailable
i need to add individual hours