Welcome Guest, Not a member yet? Register   Sign In
Template parsing
#1

[eluser]Andrewkha[/eluser]
Hi there

Another stupid question from newbie.
What is the benefit of using templates in PHP development and in CI in particular? What I was able to understand from the manual, parsing templates is pretty the same process as using

Code:
$data = array(...)
$this->load->view('view', $data);

It also replaces some specific items in html code with values that we pass to it.

So what's the difference?


Messages In This Thread
Template parsing - by El Forum - 04-02-2014, 06:44 AM
Template parsing - by El Forum - 04-08-2014, 02:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB