错误:Uncaught SyntaxError: Unexpected token <

Uncaught SyntaxError: Unexpected token <前台代码:

Uncaught SyntaxError: Unexpected token <

后台代码:

Uncaught SyntaxError: Unexpected token <

错误就在于前台是get提交数据,而后台使用post获取的

所以需要修改的是接收数据的方式:最好用:$_REQUEST

$username = $_REQUEST['username'];

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2021-08-20
猜你喜欢
  • 2021-03-30
  • 2021-10-18
  • 2021-04-19
  • 2021-06-21
相关资源
相似解决方案