Currently, I have a list box with
<select name="test">
<option value=""></option>
<option value="122">122</option>
</select>
now i would like to compare the value that store in
a database called TEMP with the value above.
if the value that query from the database is e.g 999, i would like the listbox to display the value.
O the other hand, If the value that query from the database is e.g 122, i just wish the listbox display the default value in the HTML form above.
Pls help. Thank you so much
<select name="test">
<option value=""></option>
<option value="122">122</option>
</select>
now i would like to compare the value that store in
a database called TEMP with the value above.
if the value that query from the database is e.g 999, i would like the listbox to display the value.
O the other hand, If the value that query from the database is e.g 122, i just wish the listbox display the default value in the HTML form above.
Pls help. Thank you so much