PHP: Pass On Values For A Multi-Page Form
1 2 foreach ($_POST as $field=>$value) { 3 echo "<input type=\"hidden\" name=\"" . $field . "\" value=\"" . $value . "\" />"; 4 }
13498 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
1 2 foreach ($_POST as $field=>$value) { 3 echo "<input type=\"hidden\" name=\"" . $field . "\" value=\"" . $value . "\" />"; 4 }