| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Professional Idiot
Join Date: Aug 2006
Location: Uk
Posts: 59
|
php/MySQL form problem
Right so I have this form with a drop down like: <select name="drop_down_name"> <option id="Submit this">A Value</option> </select> And I'm sending this to my handler file like: $Submit this= $_POST['Submit this']; echo $Submit this; And this echos "A Value" But what I want it to do is take the option id "Submit this" and echo the actual id "Submit this" instead of the text inside the option. How can I do this? Appreciate any help |
|
|
|
![]() |