Last Updated: February 25, 2016
· iamsubrata

Codeigniter unknown tips

We love CI , it is simple , straight and forward , that's it.
Maximum programmer start MVC with this framework.
Here are simple tips of this framework , that might help you in your existing or next project

  1. ** Load view in a variable with out generating output in browser. **

this code output directly to browser


this code load view to $string variable

$string = $this->load->view('myfile', '', true);

returning view as data