$sql="update feedback set reply='".addslashes($_POST["ReplyContent"])."',replyman='".$_SESSION["adminUserName"]."',replydate='".date("Y-m-d H:i:s")."' where feedbackid=".$_GET["feedbackid"];
==>
update feedback set reply='We will be adding this functionality in the near future. Thank you for your comments',replyman='admin',replydate='2010-06-17 16:21:18' where feedbackid=1如上sql中的replydate为什么是 16:21:18,当前时间明明是00:21:18初学php,请大家帮忙哦
==>
update feedback set reply='We will be adding this functionality in the near future. Thank you for your comments',replyman='admin',replydate='2010-06-17 16:21:18' where feedbackid=1如上sql中的replydate为什么是 16:21:18,当前时间明明是00:21:18初学php,请大家帮忙哦
解决方案 »
- 下拉菜单提交问题?菜鸟求教
- 用PHP函数处理了一个HTML就要从新登陆了如何不从新登陆,是session的事?
- PHP 访问提交的表单的数据失败
- 请教静态页面里如何调用php文件
- php下更新mysql数据库问题
- 怎么把值传给php
- php实现不固定表单做ajax提交
- 请教高手一个有关用nusoap.php调webservice的问题!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- 如何使滚动式不断滚动而不出现空白?<marquee>
- php中如何对输出的文章限制字数,剩余的用“...”表示?
- PHP 页面如何自动跳转到另一个页面底部??
- Headers and client library minor version mismatch
当前时间是0点,-8小时是16点又baidu了一下,知道了php5里的php.ini设置了默认时区谢谢楼上的回答,结了