Re: [PHP] How do I read a tab delimited file?

2002-03-11 Thread Analysis & Solutions
$Array = explode("\t", $Line); Enjoy, --Dan -- PHP scripts that make your job easier http://www.analysisandsolutions.com/code/ SQL Solution | Layout Solution | Form Solution T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y -- PHP

Re: [PHP] How do I read a tab delimited file?

2002-03-11 Thread pong-TC
I never try before, but I think you can use explode or strtok function to chop each field in the line with any delimiter. hope this would help. Pong -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How do I read a tab delimited file?

2002-03-11 Thread Don
Hi, I have a tab delimited file consisting of several lines, one record per line that I have to process. I don't see a function similar to "fgetcsv" for TABS so I've used the "file" function to read the whole file into an array, one line per array element. So far so good. Now I have to proc