hey guys,,could you help me bout my problem? I want to make a function and i want to preselect its ID's not its values,,
this is my code
echo "<option id=0>Inactive</option>
<option id=2>Active on Website</option>
<option id=3>active on churchwide calendar</option>";
I want to pass the ids to update my table in the database and the value should be 0,1,2,3 not the active,inactive........
sql="Update weeklyevent SET visibility=$evisibility where weid=$weid";