RE: [PHP-WIN] Tab Seperated Data

From: Date: Fri, 02 Feb 2001 11:07:19 +0000
Subject: RE: [PHP-WIN] Tab Seperated Data
Groups: php.windows 
Request: Send a blank email to php-windows+get-5341@lists.php.net to get a copy of this message
isnt it something like use explode("\t", $whatever) to put all the tab delimited fields in an array called $whatever. -----Original Message----- From: Tom Mathews [mailto:Tom.MATHEWS@st.com] Sent: Friday, February 02, 2001 10:28 AM Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] Tab Seperated Data 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

« previous php.windows (#5341) next »