Submit POST and GET variables in one form

前端 未结 5 1425
终归单人心
终归单人心 2020-12-19 11:32

I\'m working on a query tool that displays data from a MySQL database. The user is presented with a form containing a few dozen dynamically-generated checkboxes so that they

5条回答
  •  甜味超标
    2020-12-19 11:50

    You cannot do a post and a get in the same form you even said that in your question.

    You have to either:

    1. Have 2 forms
    2. Have one thing submit with a post via ajax and then submit the other form with a get

提交回复
热议问题