It looks like you're new here. If you want to get involved, click one of these buttons!
<h1> anunturi rent</h1>
<?=fuel_block(array('view'=>'rent_categories','model'=>'rent_categories_','find'=>'all'))?>
<h1> anunturi rent advanced </h1>
<?=fuel_block(array('view'=>'rent_categories2','model'=>'rent','find'=>'all'))?>
Comments
For now, you can just use the $this->load->module_view('anunturie', '_blocks/rent_categories2', $vars)....
$CI->load->model('anunturi/rent_model','rent'); $rent=$CI->rent->find_all(); $vars=array('rent'=>$rent); $this->load->module_view('anunturi', '_blocks/rent_categories2',$vars);
Is there any other way?
Thank you.
$rent = fuel_model('anunturi_rent', array('find' => 'all','module'=>'anunturi')); $vars=array('rent'=>$rent); $this->load->module_view('anunturi', '_blocks/rent_categories2',$vars);