CTED]> wrote:
> checkout http://php.net/manual/en/function.file.php
>
> -Original Message-
> From: Dominica Anderson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 20, 2001 2:14 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] importing text file
>
>
>
checkout http://php.net/manual/en/function.file.php
-Original Message-
From: Dominica Anderson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 2:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP] importing text file
I have a text file that is formatted as such
Something
> I would even go for $Something and just $SomethingMore
> with $Something really being $Something-$SomethingElse.
> I don't know if that makes sense.
> Any help would be greatly appreciated.
Take a look at file(); and just loop through the resulting array
and removing all the blank elements.
I have a text file that is formatted as such
Something - SomethingElse
<4 blank lines>
SomethingMore
<4 blank lines>
Something - SomethingElse
<4 blank lines>
SomethingMore
<4 blank lines>
and so on
Anyone have any ideas on what I would use to get this
into seperate
records that are $
4 matches
Mail list logo