Welcome Guest, Not a member yet? Register   Sign In
Insert db and Error Number: 1054
#2

[eluser]kgill[/eluser]
The obvious thing that stands out is your insert statement, I don't think you named your table columns, 0, 1, 2, 3, etc. instead they probably have useful names like race_date, winnings and so on. Those values need to be in your array so that when it is passed to the db->insert function it sees $event['race_date'] = ‘ 03/26/1998 ‘ not $event[1] = ‘ 03/26/1998 ‘

- K


Messages In This Thread
Insert db and Error Number: 1054 - by El Forum - 03-27-2008, 02:33 PM
Insert db and Error Number: 1054 - by El Forum - 03-27-2008, 03:11 PM
Insert db and Error Number: 1054 - by El Forum - 03-27-2008, 06:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB