I am developing Parking App, Where I used JSON and MYSQL to store and retrieve data .So I want to empty the fields in database automatically according to the time slot assigned for that particular Slot ID and User ID .
Example : A customer has booked a Slot ID 3 and with a User ID 1 and timing he/she choose to park from 10AM to 11AM , so if some customers comes over different slots are made available but the Slot ID 3 is only available after 11AM . So How to handle these type of situations through JSON ??