Tp5 ajax value transfer problem

foreground code

  $.ajax({
      type:"POST",
      url:"__URL__/add",
      data:{content:data}
  });
  

data is an array
clipboard.png


$data $_REQUEST

ajax

clipboard.png


clipboard.png

Mar.28,2021

if the format is complex, you can consider:

  

you check the url first, right?
and Bingtang Sydney says you take a picture of body, too.
the third tp5 gets the request variable without the request () shortcut function or instantiates the request class

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b373f0-2c090.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b373f0-2c090.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?