无法插入当前时间。
错误提示:ORA-01861: 文字与格式字符串不匹配
解决办法:
[php]
$data = array(
‘ID’ => time(),
‘TITLE’ => $newyqgg->getTitle(),
‘CONTENT’ => $newyqgg->getContent(),
‘AUTOR’ => $newyqgg->getAutor(),
‘CREATETIME’ => new Zend_Db_Expr(“sysdate”), // 此处使用Zend_Db_Expr
‘STATUS’ => $newyqgg->getStatus(),
‘BZ’ => $newyqgg->getBz()
);
[/php]