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
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,
2 matches
Mail list logo