Php dynamic form generation and submission solution-php Tutorial

Source: Internet
Author: User
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.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.