RE: [PHP] importing text file

2001-09-20 Thread Dominica Anderson
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 > > >

RE: [PHP] importing text file

2001-09-20 Thread Jack Dempsey
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

RE: [PHP] importing text file

2001-09-20 Thread Boget, Chris
> 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.

[PHP] importing text file

2001-09-20 Thread Dominica Anderson
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 $