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

[eluser]swgj19[/eluser]
Thanks Ray. That was a simple mistake. I am a little rusty.

I have a couple more questions. I am trying to break each query result into $row->field_name so I can echo the first name, last name, and email in the user's profile seperately. The way I have it set up now in my query returns every first name from my membership table. So could I do this without a foreach loop?
Also, How would I change my query in my model to retrieve only the first name of the user's session, who is logged in in my members area?


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



Theme © iAndrew 2016 - Forum software by © MyBB