PHP: Pass On Values For A Multi-Page Form
foreach ($_POST as $field=>$value) { echo "<input type=\"hidden\" name=\"" . $field . "\" value=\"" . $value . "\" />"; }
DZone Snippets > cornerblue > multipage
12104 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
CornerBLUE, Inc. http://www.cornerblue.com
foreach ($_POST as $field=>$value) { echo "<input type=\"hidden\" name=\"" . $field . "\" value=\"" . $value . "\" />"; }