[PHP] format output from exe()

2001-12-05 Thread Daniel Masur
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... anybody can help? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] format output from exe()

2001-12-05 Thread Tyler Longren
] Sent: Wednesday, December 05, 2001 5:50 AM Subject: [PHP] format output from exe() 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... anybody can help? -- PHP

RE: [PHP] format output from exe()

2001-12-05 Thread Peter Johansson M (PAC)
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

Re: [PHP] format output from exe()

2001-12-05 Thread Daniel Masur
$data .= $result[$i]br; } print $data; That might work for ya. Good luck, Tyler Longren - Original Message - From: Daniel Masur [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 5:50 AM Subject: [PHP] format output from exe() how can i format the out