Welcome Guest, Not a member yet? Register   Sign In
data for view
#1

Code:
    $this->load->model('case_model');

 $data['rows'] = $this->case_model->getTask($id);
 $data['threes'] = $this->case_model->get3s();    

    $this->load->view('task', $data);

Adding the 2nd $data line causes problems. What do I need to do instead?
Reply
#2

That looks correct. What does "causes problems" mean?
Reply
#3

(07-02-2015, 04:23 PM)CroNiX Wrote: That looks correct. What does "causes problems" mean?

Well, nothing now. There was some other problem but it wasn't caused by the code I posted.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB