Re: [PHP] format output from exe()

2001-12-05 Thread Daniel Masur
result); > for ($i=0; $i < count($result); $i++) { > $data .= "$result[$i]"; > } > print "$data"; > > That might work for ya. > > Good luck, > Tyler Longren > > - Original Message - > From: "Daniel Masur" <[EMAIL PROT

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 "$who"; Or substitute those newlines with the equivalent html-l

Re: [PHP] format output from exe()

2001-12-05 Thread Tyler Longren
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 output from: > > $who = passthru(system(who)); > echo $who; > > it doesnt put breakes behind each line, so al

[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] F