Welcome Guest, Not a member yet? Register   Sign In
Parse error: syntax error, unexpected $end caused by foreach in view
#7

[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.


Messages In This Thread
Parse error: syntax error, unexpected $end caused by foreach in view - by El Forum - 05-28-2012, 08:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB