In a php file, I define two forms. when the first form is submitted, the second form is generated. after the second form is submitted, the data of the first form cannot be obtained, what should I do? In a php file, I define two forms. when the first form is submitted, the second form is generated. after the second form is submitted, the data of the first form cannot be obtained, what should I do? & Lt; form & nbsp; method = "get" & gt; in a php file, I define two forms. when the first form is submitted, the second form is generated, after submitting the second form, the data in the first form cannot be obtained. what should I do?
In a php file, I define two forms. when the first form is submitted, the second form is generated. after the second form is submitted, the data of the first form cannot be obtained, what should I do?
// The first form
Echo ""; // The second form
Var_dump ($ m );
?>
After the second submission, $ m is not available. how can we pass $ m to the end?
I am a newbie and do not know cookie or session. Thank you! Form php submit transfer data share to: foreach ($ _ POST as $ k => $ v) echo" ";
How can this problem be solved? When a single page of a session table is used, no matter how you set it, the performance of "rollback" is unsatisfactory.
Reference:
Quote: reference:
Don't make things so complicated
Your second form is created by the first form handler.
Put the submission of the first form in the form of hidden variables in the second form.
I think so too, but it does not hide variables. I hope you can refer to the code. thank you!
------ Solution --------------------
Put in What's the use outside?