ok this is the code
<html>
<body>
<?php
if ($submit) {
// process form
while (list($name, $value) = each($HTTP_POST_VARS)) {
echo "$name = $value<br>\n";
}
} else{
// display form
?>
<form method="post" action="<?php echo $PHP_SELF?>">
name:
<input type="Text" name="first"><br>
email:
<input type="Text" name="last"><br>
message:
<input type="Text" name="address"><br>
<br>
<input type="Submit" name="submit" value="Enter information">
</form>
<?php
} // end if
?>
</body>
</html>
but i always get a undified submit variable error
plz i very need help
thx Eric