Welcome Guest, Not a member yet? Register   Sign In
How to load specific view part?
#1

[eluser]rafi_ccj[/eluser]
i have a view file named index. where i call to load different view files such as header, footer, left content, middle content, right content. from controller i send an array named $result['body'], which is the middle content in the view.
now i want to refresh only the middle content rather than the all view files in the index. is it possible in codeigniter?

below is my index file code.
Code:
<?php $this->load->view('gw/gw_main/template/header'); ?>
<?php $this->load->view('gw/gw_main/template/middle'); ?>//i want to refresh only this part.
<?php $this->load->view('gw/gw_main/template/bottom'); ?>
<?php $this->load->view('gw/gw_main/template/footer'); ?>


Messages In This Thread
How to load specific view part? - by El Forum - 06-24-2012, 10:27 PM
How to load specific view part? - by El Forum - 06-25-2012, 05:27 AM
How to load specific view part? - by El Forum - 06-25-2012, 05:42 AM
How to load specific view part? - by El Forum - 06-25-2012, 07:35 AM
How to load specific view part? - by El Forum - 06-25-2012, 09:52 AM
How to load specific view part? - by El Forum - 06-25-2012, 11:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB