¡@

Home 

php Programming Glossary: template_name

PHP Templating

http://stackoverflow.com/questions/292395/php-templating

Rather than run through your loop you can use include template_name . Or if you want the content of the output from the template.. output from the template you can do something like this template_name 'template.php' import the contents into this template ob_start.. import the contents into this template ob_start include template_name content ob_get_clean do something with content now ... And remember..

Header and footer in CodeIgniter

http://stackoverflow.com/questions/9540576/header-and-footer-in-codeigniter

class MY_Loader extends CI_Loader public function template template_name vars array return FALSE content this view 'templates header'.. view 'templates header' vars return content . this view template_name vars return content . this view 'templates footer' vars return..