Hi
I have a drop down list of user's role where Admin can assign role to a user.
What i want is that when admin select a value from drop down list, this value will be stored in my db.
<form action="" method="">
<select name="change_role" id="change_role">
<option value="1">Admin</option>
<option value="2">Moderator</option>
<option value="3">Register user</option>
</select>
</form>
i think i have to use Javascript on change event, but how how to grab value for php script is not known to me.
If anybody helps me quickly??
thanks in advance