You could separate your fields with a comma or some other unique character (when the file is written) and then use explode when you read the line to separate the fields.
chrishea
Nearly a Posting Virtuoso
1,429 posts since Sep 2008
Reputation Points: 210
Solved Threads: 230