Fehm
04-04-2009, 11:39 AM
Hey!
What im trying to acheive is this:
I have a create user form, and i want for the person who is creating the user to be able to select a rank from a drop downlist and then insert it into a MySQL database.
I can do this easily, but what i would like, to make things simpler later on, is that when the user selects say: Admin from the drop downlist and presses submit, the rank that is inserted into the database is '1' and Mod would be '2', its in my knowledge to edit this and insert into the database its just how would i make it so that the user can see 'Admin' but what is inserted is '1'
Thanks for any help :)
Callum
What im trying to acheive is this:
I have a create user form, and i want for the person who is creating the user to be able to select a rank from a drop downlist and then insert it into a MySQL database.
I can do this easily, but what i would like, to make things simpler later on, is that when the user selects say: Admin from the drop downlist and presses submit, the rank that is inserted into the database is '1' and Mod would be '2', its in my knowledge to edit this and insert into the database its just how would i make it so that the user can see 'Admin' but what is inserted is '1'
Thanks for any help :)
Callum