[eluser]swgj19[/eluser]
That is exactly what I did and I still get the error.
I am stating the $first_name etc. in my controller then passing $data in my view in my controller. Then I am simply echoing the $first_name in the view. The queried data passed to the string in the controller is showing in the view. So on my page I am seeing the first name and last name from the database, but with the above error for every string echoed in the view.