PHP: HTML: send HTML select option attribute in POST

kuba_b

New Member
I want to send the selected item value along with the some attribute (stud_name) value.Is there any functionality in PHP to do so?Here is the example one.\[code\]<form name='add'>Age: <select name='age'> <option value='http://stackoverflow.com/questions/14578559/1' stud_name='sre'>23</option> <option value='http://stackoverflow.com/questions/14578559/2' stud_name='sam'>24</option> <option value='http://stackoverflow.com/questions/14578559/5' stud_name='john'>25</option> </select><input type='submit' name='submit'/></form>\[/code\]Thanks
 
Back
Top