I am having following codings in my form..how do I get the value of all radio button values on submit which is inside looping? Or give me any other solution for this.
take a one hidden input for storing radio button name array in for loop like
and then fetch radio button value using foreach
$rdobtn = $_POST['testradio']; $idx = 0; foreach($rdobtn as $val){ $rdovalue = $val[$idx]; // perform opertation using above $rdovalue variable. $idx++; }
}