Welcome Guest, Not a member yet? Register   Sign In
Loading Data To Different Sections of Page
#2

[eluser]foyer[/eluser]
You mean something like this?

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

$data['left'] = $this->mymodel->left();
$data['right'] = $this->mymodel->right();

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

<div id="left">&lt;?=$left?&gt;</div>
<div id="right">&lt;?=$right?&gt;</div>


Messages In This Thread
Loading Data To Different Sections of Page - by El Forum - 03-18-2010, 03:08 PM
Loading Data To Different Sections of Page - by El Forum - 03-18-2010, 05:34 PM
Loading Data To Different Sections of Page - by El Forum - 03-18-2010, 07:26 PM
Loading Data To Different Sections of Page - by El Forum - 03-19-2010, 03:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB