这段代码有问题,有帮助吗?
$var = reset($sql -> select(array(
'table' => 'news',
'join' => array('table' => 'story', 'where' => 'id = post_id'),
'where' => array("id = $id", 'or', "url = $id")
)));
错误:
Strict Standards: Only variables should be passed by reference in
$query = reset(
$sql->select(array(
'table' => 'news',
'where' => $where
)));
Strict Standards: Only variables should be passed by reference in
慕娘9325324