Welcome Guest, Not a member yet? Register   Sign In
Confused about use of $data between Model, Controller and View
#7

[eluser]Aken[/eluser]
I missed that, too. Little things are hard to find sometimes. In the future, always check your errors carefully. If you can't see the problem on the line from the error, back track through your code to see what's going on. Commonly a good thing to do is to var_dump() the result of your model's method to see if it is returning what it is supposed to. That would've given you your answer right away. Learning to debug will save you a lot of time and hassle in the future.


Messages In This Thread
Confused about use of $data between Model, Controller and View - by El Forum - 09-07-2012, 02:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB