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 then
[snip]
I just put filesystem and size on the first line to test the \t for
creating a tab. The \t and \n don't seem to work. What am I doing
wrong here? Thanks for any help you can give me.
[/snip]
/t and /n do not work for HTML output. If you view the source of your
HTML output you will see that
I'm having problems with a function I created to display filesystems.
The problem is that I can't get tabs (\t) or newlines (\n) to work.
function filesystems () {
$df = `df -kP`;
$mounts = preg_split('/\n/', $df);
$row = "Filesystem\t" . "Size\n";
for ($i = 1, $max = sizeof($mo
3 matches
Mail list logo