Scott,
> I am seeking some thoughts on if this is the way I should tackle this
> problem. I have two files, both of them tab delimited text files that I
> need to combine and then output a new file.
>
> My idea was to put both files in an array, calling the fields I need,
> i.e. $field[0], $fiel
uot;";
}
Paul Roberts
[EMAIL PROTECTED]
- Original Message -
From: "Scott" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 11, 2002 5:32 PM
Subject: [PHP] Creating an array with a file
> Hi All,
>
> I am trying to
You need to actually read the file in order for this to work. You're just
opening it and then printing the file handle...
Bogdan
Scott wrote:
> Hi All,
>
> I am trying to create an array from a text file that I will process and
> rewrite in a new format. My question is, is it possible to read
onday, February 11, 2002 12:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Creating an array with a file
Hi All,
I am trying to create an array from a text file that I will process and
rewrite in a new format. My question is, is it possible to read the
file
in one line at a time and then separate the
Hi All,
I am trying to create an array from a text file that I will process and
rewrite in a new format. My question is, is it possible to read the
file
in one line at a time and then separate the tab-delimited fields and
finally rewrite the new file?
The fields are tab delimited and here is w
5 matches
Mail list logo