How get multiple value from url in php?

hi

I pass one form with get method in that form I use check box so I want to get all value of checkbox from url in php.

Quick Reply …

Make sure all the checkboxes have a name attribute like this: name=“sports” - sports is just an example, but whatever name you choose, make sure it’s the same for all the checkboxes, and don’t forget to include the square brackets. After the form is submitted, you can use $_GET[‘sports’] to get an array of all the selected checkbox values.