Supporting a Multiple-Page Form in PHP


How To Support Multiple-Page Forms in PHP?



If you have a long form with a lots of fields, you may want to divide the fields into multiple groups and present multiple pages with one group of fields on one page. This makes the a long form more user-friendly. However, this requires you to write good scripts that:

  • When processing the first page and other middle pages, you must keep those input values collected so far in the session or as hidden values in the next page form.
  • When processing the last page, you should collect all input values from all pages for final process, like saving everything to the database.


Understanding and Managing Cookies in PHP

Protecting Special Characters in Query String in PHP

Processing Web Forms in PHP

⇑⇑ PHP Tutorials

2016-11-05, 2142🔥, 0💬