[eluser]Corbee[/eluser]
Hi,
Just wondering is it possible to make this an array
Code:
$sessionid = getSessionID();
$example1= $this->input->post('example1');
$example2= $this->input->post('example2');
$example3= $this->input->post('example3');
$example4= $this->input->post('example4');
$example5= $this->input->post('example5');
$this->MExample->insertexample(example1,example2,example3,example4,example5);
Like put all the post into $data[] then pass it to the database like this
Code:
$this->MExample->insertexample($data);
so that I could pass it to another parts of the function, such as loading the view
Code:
$this->load->view('example',$data);
Thanks