How can I print the name and values of a submitted form.
Thanks for any help.
How can I print the name and values of a submitted form.
Thanks for any help.
foreach($_POST as $key => $val) {
echo 'Name: '.$key."<br>\n";
echo 'Value: '.$val."<br><br>\n";
}