This is a very simple PHP script that outputs the name of each bit of information (that corresponds to the name attribute for that field) along with the value that was sent with it right in the browser window.

In a more useful script, you might store this information in a MySQL database, or send it to your email address.

No data was submitted.

"; } else { foreach ($_POST as $key => $value) { if (get_magic_quotes_gpc()) $value=stripslashes($value); if ($key=='extras') { if (is_array($_POST['extras']) ){ print ""; } else { print "\n"; } } else { print "\n"; } } } ?>
Field NameValue(s)
$key"; foreach ($_POST['extras'] as $value) { print "$value
"; } print "