How to save a reservation details in a DB

i want to save the details of the reservation into a DB, for example a user wants to reserve The “A1” parking, when he reserved it i want to save the location of the parking witch is “A1” in this case and the entrance and exit time in the DB so if another user want to reserve the A1 will be Token and he cant choose it
NOTE The Buttons from A1 to A12 is a parking lots

Would you like to use Cloud Database or Local Database? But in this case I recommend to use cloud storage such as Firebase Realtime Database or Air Table. But it seems like Firebase works smooth here as it update realtime values too.

i prefer to use cloud DB,can u teach me how ?

Yeah sure… I’ll show you an example.

okay thank you , im waiting for you