Actually here is the main problem. It does not get the value of \"$radio[$i]\" statement that can be used as a condition here. So will anyone please tell me what I have to write
foreach($_POST['radio'] as $del_id) { $sql = "DELETE FROM reigster WHERE id='".mysql_real_escape_string($del_id)."'"; $result = mysql_query($sql); }