CodeIgniter在view中如何显示从controller中传来的数据

2025-01-31 02:55:37
推荐回答(1个)
回答1:

$this->load->model('Main_model');
$sr['list']= $this->Main_model->seek($name,$phone);
$this->load->view('include/main',$sr);

$value) { ..........}?>