Something is DEFINITELY wrong here...shouldn't this peice of code being working? I get no errors when I turn on error logging in php.ini, so what in the world is going on???? I have been on every board, and every user-list and no one has been able to figure it out. I don't understand. Thanks for the help though.

CODE:
<?php
if ($_POST['submit']) {
  print "the form has been submitted";
}
?>

<html>
<body>

<br><br>
<?=$errormessage?>
<br>

<form action="<?=$_SERVER['PHP_SELF']?>" method="post">
<table width="500" border="0" cellpadding="5" cellspacing="0">
<tr><td>Your name:</td><td><input type="text" name="name" value="<?=$_POST['name']?>"></td></tr>
<tr><td>Your email:</td><td><input type="text" name="email" value="<?=$_POST['email']?>"><td><tr>
<tr><td>Your message:</td><td><textarea name="message"><?=$_POST['message']?></textarea></td></tr></table>
<input type="hidden" name="required" value="name,email,message">
<input type="submit" name="submit" value="submit">


</body></html>

END CODE

_________________________________________________________________
Persistent heartburn? Check out Digestive Health & Wellness for information and advice. http://gerd.msn.com/default.asp

Reply via email to