How to use $_GET to get multiple parameters using the same name in PHP

后端 未结 4 1225
长发绾君心
长发绾君心 2021-01-20 04:23

I\'m using checkboxes to search a mysql database I have created. As the checkboxes all use the same name, when I use $_GET, it only gets the last value in the URL.

4条回答
  •  面向向阳花
    2021-01-20 04:40

    you need to make the NAME for that variable a HTML array'd variable so on the form, it would be

    
    

提交回复
热议问题