PHP dynamic form generation and submission solutions
Source: Internet
Author: User
Generation and submission of dynamic PHP forms
Dear Brothers:
I have a requirement that the number of elements in the form is indeterminate (generated according to the needs of the program), and I now think of a way to generate these elements in terms of aspects, and the aspects of the form submitted after parsing, I initially estimated that there are two problems:
First, the name of the form element,
Second, the analysis of the form after submission
Learned PHP one day, spent a week, in this respect is absolutely rookie, thank you.
------Solution--------------------
Thinking right. But sometimes it is possible to consider the nature of the problem of "indefinite number of elements", which may be replaced by a better alternative, of course, depending on the specific requirements.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.