Re: Tab Seperated Data
| From: | Tom Mathews | Date: | Fri, 02 Feb 2001 10:27:36 +0000 |
| Subject: | Re: Tab Seperated Data | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-5338@lists.php.net to get a copy of this message | ||
Can't remember the syntax off hand, but if you look under the file handling
stuff in the manual, you will see that there is a function which allows you to
put a tab delimited file into an array. From there you can do what you want
with each of the elements.
Ben Cairns wrote:
> I have a file where the data is Tab Seperated (instead of CSV) For example:
>
> data data data data
>
> on so on....
>
> What I need to do is to read this file, parse it, and put each field into a
> unique varible, so obviosly, I must be able to rename the variable that it
> goes into.
>
> Does that make sense?
>
> -- Ben Cairns - Head Of Technical Operations
> intasept.COM
> Tel: 01332 365333
> Fax: 01332 346010
> E-Mail: BenC@intasept.com
> Web: http://www.intasept.com
>
> "MAKING sense of
> the INFORMATION
> TECHNOLOGY age
> @ WORK......"
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net