tasairis wrote:Basic HTML knowledge.
Code: Select all
<option value="Help Desk" selected="selected"> Help Desk </option>
Hi,
That is okay. But the value of the option element is coming from a database (table).
Code: Select all
<?php echo '"' . $rs->Fields['supportGroup']->Value . '"'; ?>
Whatever value is there, it has to be displayed in the Drop-Down-Menu by default. The purpose is to enable the user change its value if he/she wants to. Otherwise leave it as it is. And in the later case, the original value must be displayed so that when the Select Element is referred in another web page we get a value depending upon whether it was changed or not.
Note: There are several other text elements on the same page and all of them are editable so that one can change their values if required. Otherwise, their original values are passed to the next web page for processing (updating).