Re: [PHP] reading txt file - certain lines

2004-07-30 Thread Rory McKinley
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

Re: [PHP] reading txt file - certain lines

2004-07-29 Thread Miroslav Hudak (php/ml)
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

Re: Re: [PHP] reading txt file - certain lines

2004-07-28 Thread Dustin Krysak
: 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

Re: [PHP] reading txt file - certain lines

2004-07-28 Thread John Nichel
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

[PHP] reading txt file - certain lines

2004-07-28 Thread Dustin Krysak
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