[PHP-DB] Re: Parsing CSV files into a MySQL Table

2004-11-02 Thread Eric McGrane
If what you have below is the exact SQL you have an error: mysql_query ("INSERT INTO 'footable' (foo1, foo2, foo3, foo4, foo5, foo6, foo7) VALUES '$foo1', '$foo2', '$foo3', '$foo4', '$foo5', '$foo6', '$foo7')"); should be mysql_query ("INSERT INTO 'footable' (foo1, foo2, foo3, foo4, foo5, foo6,

[PHP-DB] Re: mysql error and resource ID:

2004-10-14 Thread Eric McGrane
A snippet of the source code would help. E "Stuart Felenstein" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > First time setting something like this up. So probably > making some major mistakes. > Anyway I get this message : "mysql_error(Resource id > #2)" > > I know it's pointing