Answer the question
In order to leave comments, you need to log in
How, after entering data into the fields of two tables, to transfer the id of these fields to the third table?
There are three tables:
Logic:
When checking into a hotel, all fields in all three tables are filled in, but you need to do something like this:
payments
, and id_payment
this payment is sent toaccommodation
clients
, and id_client
this guest is sent toaccommodation
accommodation
. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question