extension=php_pdo.dll
extension=php_pdo_mysql.dll
$this->db->select('*');
$this->db->from('crawl');
$this->db->join('news', 'crawl.site_id = news.site_id');
$this->db->where('crawl.author_id', $id); // или где у вас там поле author_id
$query = $this->db->get();