Welcome Guest, Not a member yet? Register   Sign In
db stuff
#2

[eluser]Jamie Rumbelow[/eluser]
A T_FUNCTION error is a syntax error - are you sure your syntax is correct?

You should be able to directly query out of a controller function, but by the Model-View-Controller convention you should put any data-related functionality in the Model.

Jamie


Messages In This Thread
db stuff - by El Forum - 01-09-2010, 05:11 AM
db stuff - by El Forum - 01-09-2010, 08:37 AM
db stuff - by El Forum - 01-09-2010, 11:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB