Re: [PHP] Generating mysql statement from php return an error :-(

2001-07-30 Thread James Holloway
If you want to separate insert statements, you can do it like this: $big_insert_query = INSERT INTO table (id, col1, col2) VALUES ('', '$col1_stuff[$i]', '$col2_stuff[$i]'), ('', '$col1_stuff[$i]', '$col2_stuff[$i]'), ('', '$col1_stuff[$i]', '$col2_stuff[$i]'), ('', '$col1_stuff[$i]',

RE: [PHP] Generating mysql statement from php return an error :-(

2001-07-29 Thread Ben Bleything
I _believe_ (not totally sure) that mysql_query() can only handle one statement at a time, and if you need to execute multiple, you will need to use more than one mysql_query() statements. It's a bummer = I have all sorts of problems with it. What's up with your return e-mail address? It's a