CodeIgniter Forums

Full Version: Can I just download the changed part of the whole page?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
page一:
$this->load->view('header');
$this->load->view('test1', $data);
$this->load->view('footer');
page二:
$this->load->view('header');
$this->load->view('test2', $data);
$this->load->view('footer');
can i just redownload test2,not all the other parts? Thank you!

El Forum

[eluser]TWP Marketing[/eluser]
[quote author="rock" date="1344581568"]page一:
$this->load->view('header');
$this->load->view('test1', $data);
$this->load->view('footer');
page二:
$this->load->view('header');
$this->load->view('test2', $data);
$this->load->view('footer');
can i just redownload test2,not all the other parts? Thank you![/quote]

Your question suggests you don't know what the header and footer views contain.
If they have the html head tag data, they are necessary for a browser to render the page correctly.

If they are just content inside the body tag, they are not "necessary", assuming you are willing to have a blank space or missing page information.