PHP receives multiple same name checkbox information is not as an array as ASP, which has brought certain inconvenience. But there is still a solution, that is, use JavaScript to do preprocessing. A plurality of same name checkboxes in JavaScript or in the form of an array, so before the form is submitted, JavaScript can be used to combine the information in the check box into a hidden element in the form of information, and then use PHP The EXPLODE function parsed this array so that the passage of checkbox information can be implemented. The following is an example.
Suppose there is such a form: