I have a problem with this code, any help?
$var = reset($sql -> select(array(
'table' => 'news',
'join' => array('table' => 'story', 'where' => 'id = post_id'),
'where' => array("id = $id", 'or', "url = $id")
)));
Error:
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