I need to get the value that has been assigned to the checkbox that is checked , and I've used for loop to show the checkboxes , now i need to access the values of the checkboxes that are checked only ,
Can anybody help me out with this ?
foreach($inbox as $inbox_info)
{
<input type="checkbox" id="checkUnread" name="checkUnread" value="<? echo $inbox_info['inbox_id'];?>" />
}
i am trying to do a mail inbox functionality , and i need to get the id of the elements that has its checkbox checked so that i can flag those elements unread in the database