Welcome Guest, Not a member yet? Register   Sign In
Class -> View variables
#1

[eluser]rockstyle[/eluser]
Is this trick right?
Quote:$vars[$var] = $bank[$var];
I use it when i want my variables from inside a class to be used inside of a views. But CI Debug shows me that $var in this case is undeclared? How can i do this if i have many variables and don't want to write them down?


Messages In This Thread
Class -> View variables - by El Forum - 02-06-2010, 10:16 AM
Class -> View variables - by El Forum - 02-07-2010, 07:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB