I need to read a file with this format and be able to parse it to
place each field into a new mySQL query to insert into a table.:
field1
field2
.
.
.
..
fieldn
field1
field2
.
.
.
..
fieldn
field1
field2
.
.
.
..
fieldn
How would I loop this file to read each field into a variable and
stop when the blank line is reached, insert the record and then
begin again until the eof?