Warning: Variable passed to each()
Moderators: egami, macek, gesf
-
- php-forum Fan User
- Posts: 974
- Joined: Mon Oct 01, 2012 12:32 pm
The error is telling you what's wrong; you're calling a foreach() or each() with a variable that contains a scalar value, rather than collection like an array, or an object. I could tell you what line number too, but you left that part off of your error text.