Welcome Guest, Not a member yet? Register   Sign In
Unknown column
#5

[eluser]wiredesignz[/eluser]
$this = the model object, and the db driver will try to use every class variable of the model object to build it's insert SQL, as per the example you show.

Unless your table has a _module column I recommend that you change the way you are using insert because your model object appears to have class variables that are not in your table.


Messages In This Thread
Unknown column - by El Forum - 10-15-2008, 03:27 AM
Unknown column - by El Forum - 10-15-2008, 03:55 AM
Unknown column - by El Forum - 10-15-2008, 04:54 AM
Unknown column - by El Forum - 10-15-2008, 05:10 AM
Unknown column - by El Forum - 10-15-2008, 05:20 AM
Unknown column - by El Forum - 10-15-2008, 05:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB