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.
Age: 23 24 , e.g. 1_sre. Then you will be able to split the value and get the 'stud_name'. $stud = explode("_",$_POST['age']); $stud_id = $stud[0]; $stud_name = $stud[1];
Age:
1_sre
'stud_name'
$stud = explode("_",$_POST['age']); $stud_id = $stud[0]; $stud_name = $stud[1];