Return to Snippet

Revision: 20711
at November 30, 2009 02:07 by xida


Updated Code
form id="solarrechner" name="solarrechner" action="index.php" method="POST">
<?php
foreach($_POST as $key => $value) {
echo	'
<input type="hidden" name="' . $key . '" value="' . $value . '">
';
}
?>
</form>

Revision: 20710
at November 23, 2009 14:24 by xida


Initial Code
form id="solarrechner" name="solarrechner" action="index.php" method="POST">
<?php
foreach($_POST as $key => $value) {
echo	'
<input type="hidden" name="' . $key . '" value="' . $value . '">
}
?>
</form>

Initial URL


Initial Description


Initial Title
Loop $POST Array and store in form hidden fields

Initial Tags


Initial Language
PHP