Re: [PHP] best way to turn a text file into tables in PHP

2002-09-08 Thread Justin French
So, you have a text file with tab delimited values, one row per line yes? --- "; foreach($myrow as $k => $v) { if($row == 0) { $v = "{$v}"; } echo "{$v}"; } echo "\n"; $row++; } fclose ($fp); ?> --- Notes: 1. untested code, but should be f

[PHP] best way to turn a text file into tables in PHP

2002-09-08 Thread Peter
Hi, I have 'test_file.txt' with the contents: label1label2label3comments name1 name2 name3 name4 name5 name6This is a comment ... How can I turn this into a table using PHP? Thanks, -Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe,