Welcome Guest, Not a member yet? Register   Sign In
variables in the view
#5

[eluser]Fero[/eluser]
The meant something like

$data['name_of_variable']="Oh Yeah";
$data['name_of_another_variable']="Oh YeaH I really want it";

and then you pass it as $this->load->view('thanks',$data);

Then, in View you can access $name_of_variable containing Oh Yeah and similar for name_of_another_variable Smile


Messages In This Thread
variables in the view - by El Forum - 04-01-2009, 01:56 PM
variables in the view - by El Forum - 04-01-2009, 02:40 PM
variables in the view - by El Forum - 04-01-2009, 02:41 PM
variables in the view - by El Forum - 04-01-2009, 04:00 PM
variables in the view - by El Forum - 04-01-2009, 08:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB