我正在使用Jquery、Ajax和PHP尝试发送要写入mysql数据库的变量。正在发出Ajax请求,但php.ini未获取变量。我不知道为什么会这样。使用firebug和console.log()我可以看到已经对write_results.php进行了POST如果我检查它说的Response注意:E:\write_results.php中2未定义索引:testscore这是我的PHP这是我的ajax脚本$(document).ready(function(){testscore="tryagain";//testvaluetoenterintothemysqldatabase$.aja