mass insert statement

scranmer <[email protected]>
Newsgroups gmane.comp.web.oscommerce.devel
Message-ID <3e71ce4ca35a74bd28424764c2dc0502@osCommerce-Forums>
This message was sent from: Development
http://forums.oscommerce.com/viewtopic.php?p=169339#169339
----------------------------------------------------------------

:? 

I am writing an add-on that will need to update multiple rows. Instead of

for...
...
INSERT INTO
next

I am doing a "mass" insert via
for...
...
$x .= "INSERT INTO ...; "
next
tep_db_query($x);

But this keeps failing. I can cut and paste the sql into phpmyadmin which works OK. Any ideas?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.