"Can't use method return value in write context"错误提示
if(!empty($this->_post(date1))){
$this->assign('date1',$_POST['date1']);
}else{
$this->assign('date1',date("Y-m-d"));
}
在运行的时候提示错误
查找原因:empty函数参数必须为variable,不能为其它函数的返回值,包括str_replace,t
原创
2014-03-06 10:23:42 ·
1375 阅读 ·
0 评论