Hi
I am having a bizarre problem with something so simple.
I have a form that has a variables with numbers "9", "12" and "13" etc.. I can't seem to post the value using
etc. as PHP not accepting << $9 >> as the variable.
What I need once the form posts the value, on the second page I want to be able to display the one of the selected value as Queensland or New South Wales or ACT .
Now the second problem I can see because numbers entered as the "value" represents the Freight in Dollars and some of the values are the same. In view of this I want to display the correct STATE names when they are selected on my second page following my form.
So if someone selects "Queensland " then I want to be able to pass this as "Queensland " to the second page. I don't want to change the numerical values because they are working at the moment to calculate the freight user selects depending on the STATE they select.
I would very much appreciate a solution to this.Please if you don't my give me the complete solution as I am not much of an expert in PHP or java.
Thanks
In the form I have STATE names as follows -
I am having a bizarre problem with something so simple.
I have a form that has a variables with numbers "9", "12" and "13" etc.. I can't seem to post the value using
Code:
$9 = $_POST["Queensland"];
What I need once the form posts the value, on the second page I want to be able to display the one of the selected value as Queensland or New South Wales or ACT .
Now the second problem I can see because numbers entered as the "value" represents the Freight in Dollars and some of the values are the same. In view of this I want to display the correct STATE names when they are selected on my second page following my form.
So if someone selects "Queensland " then I want to be able to pass this as "Queensland " to the second page. I don't want to change the numerical values because they are working at the moment to calculate the freight user selects depending on the STATE they select.
I would very much appreciate a solution to this.Please if you don't my give me the complete solution as I am not much of an expert in PHP or java.
Thanks
In the form I have STATE names as follows -
Code:
<select name="freight_fee_($)" class="field select medium" id="freight_fee_($)" tabindex="14" >
<option value="9">Queensland</option>
<option value="12">New South Wales</option>
<option value="12">ACT</option>
<option value="13">Victoria</option>
<option value="14">South Australia</option>
<option value="16">Western Australia</option>
<option value="15">Northern Territory</option>
<option value="15">Tasmania</option>
</select>
Comment