Currently, I have a list box with
<select name="test">
<option value="100">100</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. .(The list box will show "100","122","999"
On 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.(The list box will show "100","122"
Pls help. Thank you so much
<select name="test">
<option value="100">100</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. .(The list box will show "100","122","999"
On 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.(The list box will show "100","122"
Pls help. Thank you so much