Welcome Guest, Not a member yet? Register   Sign In
Keep getting undefined variable error trying to pass variable into view
#3

The array that you pass to a view (from within your controller), is automatically extracted.
If you assigned $data['message'] = ...
then your view will recognize $message, not $data.
Reply


Messages In This Thread
RE: Keep getting undefined variable error trying to pass variable into view - by Wouter60 - 08-09-2015, 10:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB