Dustin Krysak wrote:
snip
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
Everything is possible :)
And in this case, it seems, that lines are delimited by br ... i'm not quite
sure, whether br 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('br',
$variable) and you have lines in
Dustin Krysak wrote:
Hi there.. .I am displaying info (on music) from a text file with the
following code...
?php
//open the file handler
$fp02=fopen(assets/lib/php/itunes/recent.txt,r);
//Read the track info
$recent=fgets($fp02);
//close the file.
echo $recent;
fclose($fp02);
?
Now the
:
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...
?php
//open the file handler
$fp02=fopen
4 matches
Mail list logo