Re: [PHP] Need function to process tab delimited file using associative array

2004-10-25 Thread Eric Wood
- Original Message - From: "Justin French"> > The disadvantage is that you have to loop through the data twice (once > as a tab-delimited file, once as an assoc. array), which would have > obvious problems when there's a large set of data that needs to be > looped through often. > Justin

Re: [PHP] Need function to process tab delimited file using associative array

2004-10-25 Thread Justin French
On 25/10/2004, at 12:22 PM, Eric Wood wrote: Does anyone have a function stored away that can selectively let me trim out only the columns *by name* I need from a delimited text file? For Example: FNameLNamePhone JohnSmith345335 JamesSmith2345223533 JudySmith5474574544 I think (at least for c

RE: [PHP] Need function to process tab delimited file using associative array

2004-10-24 Thread Zareef Ahmed
-Original Message- From: Eric Wood [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 7:53 AM To: [EMAIL PROTECTED] Subject: [PHP] Need function to process tab delimited file using associative array Does anyone have a function stored away that can selectively let me trim out only

[PHP] Need function to process tab delimited file using associative array

2004-10-24 Thread Eric Wood
Does anyone have a function stored away that can selectively let me trim out only the columns *by name* I need from a delimited text file? For Example: FNameLNamePhone JohnSmith345335 JamesSmith2345223533 JudySmith5474574544 The first line wouldmake the associative array list names from th