PHP array from text file into HTML table?

Sensibly Insane

New member
I need to create a table from a text file. So far I have this :

$favourites = fopen("favourites.txt", "rb");

while (!feof($favourites) ) {

$line_of_text = fgets($favourites);
$parts = explode('=', $line_of_text);

print $parts[0] . $parts[1]. "<BR>";
}

fclose($favourites);

But that doesn't put it into a table. Help?
Yeah, that doesn't help. Can you please tell me how to do it, rather than just tell me I'm doing it wrong?
 
Back
Top