Welcome Guest, Not a member yet? Register   Sign In
Can i pass two database table in the model to the controller to the view?
#3

[eluser]dnc[/eluser]
It sounds like you will be returning arrays from both tables, right?


After both arrays are populated I would do this like:

Code:
$final_data = array_merge($data, $data1);
$this->load->view('inboxmsgview', $final_data);



Messages In This Thread
Can i pass two database table in the model to the controller to the view? - by El Forum - 05-24-2012, 11:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB