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]',
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
2 matches
Mail list logo