Jump to content

Form problem


thefollower

Recommended Posts

I have a form which processes on a different page but the values won't travel accross and im unsure why... this is is the code:

 

<form name="" method="POST" action="buyhouseformprocess.php" enctype="text/plain" id="Form1" onsubmit="return ValidateForm1(this)">

 

Thats the form's attributes.

 

In the form i have this:

<select name="RegionComboBox" size="1" id="Combobox2" style="position:absolute;left:240px;top:388px;width:150px;font-family:MS Shell Dlg;z-index:4">
<option value=""> </option>
<option value="South Region">South Region</option>
<option value="South East Region">South East Region</option>
<option value="North East Region">North East Region</option>
<option value="North West Region">North West Region</option>
<option value="South West Region">South West Region</option>
</select>

<input type="submit" id="Button1" name="BuyHouse" value="Buy House" style="position:absolute;left:272px;top:626px;width:95px;height:24px;z-index:9">

 

Then the process page has this:

 

$Area = $_POST['RegionComboBox'];

 

 

When i echo'd $Area it was blank. Any idea's as to why?

Link to comment
https://forums.phpfreaks.com/topic/68722-form-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.