Simple CodeIgniter Templating

/ Published in: PHP
Save to your folder(s)

Basically, a simple way to use a templating system in
CodeIgniter. In your data array, add a view as the value for content. Pass that to the view, then print the $content variable in the view.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.