Passing checkbox state to PHP

前端 未结 6 1670
南笙
南笙 2021-01-24 22:54


This works fine, ho

6条回答
  •  南笙
    南笙 (楼主)
    2021-01-24 23:37

    That's normal.

    They must be both type="checkbox" to pass only 1 value.

    If you want to get only 1 in any cases you can do:

    
    

提交回复
热议问题