AJAX + jQuery variables do not pass to PHP

后端 未结 4 906
死守一世寂寞
死守一世寂寞 2021-01-20 20:08

I am trying to do something very simple: Pass 2 text variables to a php script and insert them into a MySQL db. For some reason however I can\'t get the variables to pass (s

4条回答
  •  既然无缘
    2021-01-20 20:50

    The "data" parameters are sent as POST varaiables rather than GET variables. Try $_POST in the PHP

提交回复
热议问题