how to get array parameter from what user type in browser with codeigniter3
this is my controller
class header extends CI_Controller{
public function index(){
$this->load->model('header_model');
$hasil = $this->header_model->getData();
var_dump($hasil);
}
}
and this is my model
class header_model extends CI_Model{
public function getData(){
$array = ["000118","000112","000117"];
$this->db->select('NOMOR_DAFTAR, TANGGAL_DAFTAR');
$this->db->where_in('NOMOR_DAFTAR',$array);
return $this->db->get('tpb_header')->result_array();
}
}
$array above i want to get from what user type in browser