Php dynamic form generation and submission brothers: I have a requirement that the number of elements in the form is uncertain (generated based on program requirements ), I want to use a method to generate these elements and parse the elements after the form is submitted. I initially estimated that there are two problems: 1. name of the form element, 2. after the form is submitted, I learned php for one day and used it for one week. this is definitely a rookie. thank you. ------ Solution ------------ php dynamic form generation and submission
Ladies and gentlemen:
One of my requirements is that the number of elements in the form is uncertain (generated based on the needs of the program). now I want to generate these elements in a way that can be used, in addition, after the form is submitted, I initially estimated that there are two problems:
I. Naming of form elements,
II. analysis after form submission
I learned php for a day and spent a week. this is definitely a rookie. thank you.
------ Solution --------------------
Train of Thought. But sometimes there may be better ways to replace the problem of "The number of elements is not fixed". of course, this should be determined based on specific requirements.