这是我的控制器代码,请告诉我如何从数据中获取单个值。
public function biasses_view()
{
$biaso_id=base64_decode($_GET['view']);
$this->load->model('biaso_model');
$data['result']=$this->biaso_model->select_single_biaso1($biaso_id);
$anchor=$result[0]->anchor_name;
echo $anchor;
exit;
$data['resultshow']=$this->biaso_model->select_single_biaso($biaso_id);
$this->load->view('admin/biasses_view',$data);
}