Reading lines from a CSV file
| From: | Don | Date: | Mon, 11 Mar 2002 01:35:03 +0000 |
| Subject: | Reading lines from a CSV file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-87936@lists.php.net to get a copy of this message | ||
Hi,
I have a comma delimited text file composed of many rows of text. I've been looking at the PHP
documentation for file system functions but cannot see a way to read a file row by row. Each row
may be different byte length. How do I read only a row and have the file pointer at the start of
the next row so I can read it, etc... until eof?
Thanks,
Don