Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.