PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
i want to fetch only thoese values that are checked
problme is that i have 2 types of check boxes
and i want to decide that the check box is checked or not and 2nd thing that i want to differentiate that checkbox belonges to which group.
n00b Saibot wrote:you should change the value parameter of input tag to reflect the group you want that checkbox in.
secondly change value="checkbox" to value="checkbox[]" so that an array of only selected checkboxes is sent.
thanks for the suggestion man 2nd thing is that i know there should be a name for checkbox that was just to show.
secondly change value="checkbox" to value="checkbox[]" so that an array of only selected checkboxes is sent.