getting a checkbox array value from POST

后端 未结 5 1757
一整个雨季
一整个雨季 2020-11-28 13:10

i am posting an array of checkboxes. and i cant get it to work. i didnt include the proper syntax in the foreach loop to keep it simple. but it is working. i tested in by tr

5条回答
  •  一生所求
    2020-11-28 13:25

    Your $_POST array contains the invite array, so reading it out as

    
    

    won't work since it's an array. You have to loop through the array to get all of the values.

    
    

提交回复
热议问题