Posted by trlists on 03/07/05 17:14
On 7 Mar 2005 Jay Blanchard wrote:
> /t and /n do not work for HTML output. If you view the source of your
> HTML output you will see that the tabs and newlines are used properly.
> You will have to substitute an HTML equivalent.
The HTML equivalent would likely be tables -- but if he uses <pre> then
the tabs and newlines should work.
For the original poster -- in other words, near the start:
$row = "<pre>Filesystem\t" . "Size\n";
and near the end:
$row .= "</pre>\n"
If you don't mind the monospaced font then that should work -- though
you are at the mercy of whatever the browser uses for tab spacing.
--
Tom
Navigation:
[Reply to this message]
|