Daniel Masur wrote:

> how can i format the output from:
> $who = passthru(system(who));
> echo $who;
> it doesnt put breakes behind each line, so all the stuff iss 
> just one line till the browsers to short...

Try this:
echo "<pre>$who</pre>";

Or substitute those newlines with the equivalent html-lingo (<br>)
echo nl2br($who);

./peter - Svenska PHP-listan: http://www.kanalen.org/mailinglistor.php

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to