sanjdhiman
Programmer
Hi there im using php mySQL and apache in the normal fashion. on winXP Home..
I have a form which lets users choose values from drop down menus and text fields however, when i mvoe to next page im able to retain the text field values, i.e. using session variables. so when i press the back button it has all the info in the text boxes BUT the drop down menu boxes dont retain there value even if i REgsister them as session variables?
do i need to do something am i missing something?
example of code
<input type=\"text\" name=\"feature1\" value =\" <? echo $feature1; ?>\">
The above retains its value
BUT
<select name="propertytype">
<option value="flat">Flat</option>
...
...
this does not
how do i make it so that it will retain its value on screen if i come back to it?
regards
and thanks in advance
sanj
I have a form which lets users choose values from drop down menus and text fields however, when i mvoe to next page im able to retain the text field values, i.e. using session variables. so when i press the back button it has all the info in the text boxes BUT the drop down menu boxes dont retain there value even if i REgsister them as session variables?
do i need to do something am i missing something?
example of code
<input type=\"text\" name=\"feature1\" value =\" <? echo $feature1; ?>\">
The above retains its value
BUT
<select name="propertytype">
<option value="flat">Flat</option>
...
...
this does not
how do i make it so that it will retain its value on screen if i come back to it?
regards
and thanks in advance
sanj