Dustin Krysak wrote:
Now what I want to do is read this file, but only say read 5 songs
worth, then I would place the PHP code in (another table) and display
the next 5 songs and so on This just allows for a more flexible
layout in the final presentation. the way I am having the text files
Everything is possible :)
And in this case, it seems, that lines are delimited by ... i'm not quite
sure, whether "" can be used in explode as a delimiter, if so, you have no
problem and you just read all the file into variable, $lines = explode('',
$variable) and you have lines in $lines... if
:
From: John Nichel <[EMAIL PROTECTED]>
Date: July 28, 2004 2:05:51 PM PDT
To: PHP <[EMAIL PROTECTED]>
Subject: Re: [PHP] reading txt file - certain lines
Dustin Krysak wrote:
Hi there.. .I am displaying info (on music) from a text file with the
following code...
//open the file handler
Dustin Krysak wrote:
Hi there.. .I am displaying info (on music) from a text file with the
following code...
Now the contents of said text file would read something like the following:
Liarby Sex Pistols"Never Mind The
Bollocks"Played: 2004/07/28, 1:48:29
PM--Let's Rave Onby The
Rave
Hi there.. .I am displaying info (on music) from a text file with the
following code...
Now the contents of said text file would read something like the
following:
Liarby Sex Pistols"Never Mind The
Bollocks"Played: 2004/07/28, 1:48:29
PM--Let's Rave Onby The
Raveonettes"Chain Gang
5 matches
Mail list logo