Welcome Guest, Not a member yet? Register   Sign In
Two things: HTML entities and Undefined variables
#4

[eluser]edjon2000[/eluser]
Now, when it comes to variables on the view page things like
Code:
$data['vac_name']
which resolves to
Code:
$vac_name
appears as undefined.

I have read that all variables should be initialized but, how can you do that with a dynamic variable that is derived from the controller, if I define
Code:
$vac_name = '';
in the view, it effectively removes any data passed from the controller

Any advice on this would also be greatly appreciated.

Jon


Messages In This Thread
Two things: HTML entities and Undefined variables - by El Forum - 01-25-2011, 06:56 PM
Two things: HTML entities and Undefined variables - by El Forum - 01-25-2011, 07:02 PM
Two things: HTML entities and Undefined variables - by El Forum - 01-25-2011, 07:06 PM
Two things: HTML entities and Undefined variables - by El Forum - 01-25-2011, 07:11 PM
Two things: HTML entities and Undefined variables - by El Forum - 01-25-2011, 07:13 PM
Two things: HTML entities and Undefined variables - by El Forum - 01-25-2011, 07:23 PM
Two things: HTML entities and Undefined variables - by El Forum - 01-25-2011, 07:36 PM
Two things: HTML entities and Undefined variables - by El Forum - 01-25-2011, 07:42 PM
Two things: HTML entities and Undefined variables - by El Forum - 01-25-2011, 07:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB