Skip to content

Instantly share code, notes, and snippets.

@martisj
Created March 11, 2012 09:07
Show Gist options
  • Save martisj/2015697 to your computer and use it in GitHub Desktop.
Save martisj/2015697 to your computer and use it in GitHub Desktop.
dynamic template view
<?php $this->load->view('header', $header); ?>
<?php $this->load->view($main_content); ?>
<?php $this->load->view('footer', $footer); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment