How to do this interface? I want to make the page the following effect. all the information on the page is submitted to the same PHP file. How can this be better? Do I make the entire page a form, or do I make a form by submitting a person + a person? If there is only one form, how do I obtain all the person information in php?
I want to make the page the following effect. all the information on the page is submitted to the same PHP file.
How can this be better? Do I make the entire page a form, or do I make a form by submitting a person + a person?
If there is only one form, how can we get all the person information in php?
Person1 ---------------------------------------
Name: Document Type:
Gender: Document Number:
Room:
Person2 ---------------------------------------
Name: Document Type:
Gender: Document Number:
Room:
Person3 ---------------------------------------
Name: Document Type:
Gender: Document Number:
Room:
Total deposit: Pre-stay days:
Submit button
------ Solution --------------------
Of course, it is placed in a form, which can be distinguished by different name attribute values.
------ Solution --------------------
HTML code
Untitled Document
------ Solution --------------------
PHP code