我想使用 .post() 将数据发送到页面,但没有发送日期,我
puzzle = JSON.stringify(puzzle);
var today = new Date();
$.post("script/add_grid.php",
{Puzzle:puzzle, designer:$("#designer").val(), name: "تجربة 1", creation_date:today});
add_grid.php
$db_word->insert_grid($_REQUEST['Puzzle'],$designer,$name,$creation_date);
我收到此错误消息:
<b>Notice</b>: Undefined index: creation_date in <b>D:\xampp\htdocs\entertainment\script\add_grid.php</b> on line <b>6</b><br />
可能是什么解决方案?