$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,请大家帮忙哦
解决方案 »
- 关于网站异常系统的设计
- 中高手请过来指导一下,站内搜索问题
- if() 简单问题求助
- php时间请教
- 请教一个Form能不能象两个表单里面提交内容啊
- 对于这段代码的结果,不知道各位有什么看法?
- windows下整合apache1.3.27和php4.2.2后变量传不过去,为什么呢?
- php后的参数不起作用,就是php接收不到参数,在本地可以,服务器上不行,急!
- php查询MYSQL开始到结束时间的问题
- 关于 jQuery 的 edatagrid 分页问题
- PHP 页面如何自动跳转到另一个页面底部??
- Headers and client library minor version mismatch
当前时间是0点,-8小时是16点又baidu了一下,知道了php5里的php.ini设置了默认时区谢谢楼上的回答,结了