Welcome Guest, Not a member yet? Register   Sign In
how to use a variable in controller?
#1

[eluser]girish[/eluser]
i used this:


$this->load->view('login', $data);


Can i take a variable $content or other.
which can hold the value of complete page.

for eg.

can i take login page in single variable and pass it to view.

I did pass the title, header etc but now i want to pass complete login page !!!

Is it possible? how?


Messages In This Thread
how to use a variable in controller? - by El Forum - 03-26-2011, 12:52 PM
how to use a variable in controller? - by El Forum - 03-26-2011, 02:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB