Welcome Guest, Not a member yet? Register   Sign In
Mysql Results Conditional
#4

[eluser]metaltapimenye[/eluser]
when light weight is the issue.. "calling where needed" is the answer sir.

if practical/simplicity is the main menu, this might be an options..
Code:
#controller
#..
$data['header']=$this->load->view('header');
$data['content']=$this->load->view('staff_specific_content');
$data['footer']=$this->load->view('footer');

$this->load->view('general_page_template',$data);
#..
# view/staff_specific_content.php
#..
$this->load->model('staff_model');
$data_array=$this->staff_model->get_staff();
//..doing data processing
glad to know not just all programmer professionals here ^^


Messages In This Thread
Mysql Results Conditional - by El Forum - 12-22-2010, 10:31 AM
Mysql Results Conditional - by El Forum - 12-22-2010, 11:11 AM
Mysql Results Conditional - by El Forum - 12-22-2010, 11:19 AM
Mysql Results Conditional - by El Forum - 12-22-2010, 09:26 PM
Mysql Results Conditional - by El Forum - 12-22-2010, 09:51 PM
Mysql Results Conditional - by El Forum - 12-23-2010, 08:26 AM
Mysql Results Conditional - by El Forum - 12-26-2010, 07:52 AM
Mysql Results Conditional - by El Forum - 12-26-2010, 07:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB