You are correct, of course, Werner. I was thinking along the wrong
path - of trying to write AS I looped (as I was doing with the text
file), rather than using the loop to build the INSERT statement and
THEN writing to the database.
Christopher Jones also provided me with a sample of very basic code
that built the INSERT statement using simple concatenation - and
using the loop that I'd already built. One important bit was using
'chop' to remove the final comma in each of the arrays that I built.
Thank you (and Christopher),
Nelson
>I don't see the problem. If you have a table with 120 columns and
>need to populate it, do you not want to do it with one insert
>statement? What else?
>
--
===========================================================
Nelson Goforth Lighting for Moving Pictures
phone: 01.303.322.5042 pager: 01.303.634.9733
resume: http://www.earthnet.net/~ngoforth/film
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php