$_POST is not working in ajax form submit?

后端 未结 11 1569
遥遥无期
遥遥无期 2021-01-17 12:57

When I try to check user input name is already exist by ajax form submit !But it only get Undefined index: username in sessions.php ,what is missin

11条回答
  •  抹茶落季
    2021-01-17 13:56

    Use the following code in your html code and remove contentType : false, processData: false




提交回复
热议问题