$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
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
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
3 matches
Mail list logo