I have created an html form, and am looking to create various php scripts to process the data. However, nothing seems to be working.
My form is something like this:
Quote:
<form name="Contact_Form" method="post" action="contactform.php" enctype="text/plain" id="Form1" onsubmit="return ValidateContact_Form(this)">
<div id="bv_Text4" style="margin:0;padding:0;position:absolute;left:3 0px;top:23px;width:179px;height:41px;text-align:left;z-index:0;">
<font style="font-size:43px;background-color:#FFFFFF" color="#000045" face="LilyUPC">Name:</font></div>
<input type="text" id="Editbox1" style="position:absolute;left:250px;top:21px;width :343px;height:43px;border:1px #C0C0C0 solid;color:#000045;font-family:LilyUPC;font-size:43px;z-index:1" name="name" value="">
<div id="bv_Text6" style="margin:0;padding:0;position:absolute;left:3 0px;top:73px;width:207px;height:41px;text-align:left;z-index:2;">
<font style="font-size:43px;background-color:#FFFFFF" color="#000045" face="LilyUPC">E-mail address:</font></div>
<input type="text" id="Editbox2" style="position:absolute;left:250px;top:71px;width :343px;height:43px;border:1px #C0C0C0 solid;color:#000045;font-family:LilyUPC;font-size:43px;z-index:3" name="email" value="">
<div id="bv_Text7" style="margin:0;padding:0;position:absolute;left:3 0px;top:123px;width:207px;height:41px;text-align:left;z-index:4;">
<font style="font-size:43px;background-color:#FFFFFF" color="#000045" face="LilyUPC">Message:</font></div>
<textarea name="message" id="TextArea1" style="position:absolute;left:30px;top:173px;width :563px;height:148px;border:1px #C0C0C0 solid;color:#000045;font-family:LilyUPC;font-size:43px;z-index:5" rows="2" cols="44"></textarea>
<input type="submit" id="Button1" name="Button1" value="Submit" style="position:absolute;left:30px;top:348px;width :75px;height:24px;font-family:Arial;font-size:13px;z-index:6">
</form>
|
When I run contactform.php, it doesn't pick up any of the values from the form. I have tried even the most basic manipulation - printing Hello "name", for instance - but the data never shows up. For instance, if I use:
Quote:
<html>
<body>
Welcome <?php print $_POST["email"]; ?>
</body>
</html>
|
all that is displayed is "Welcome ".
Am I doing something really stupid? I've played around with it for hours now. Or is it something to do with the server/hosting account that I don't know about?