【发布时间】:2012-04-23 13:17:25
【问题描述】:
我想使用 .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 />
有什么解决办法?
【问题讨论】: