Formatting
| From: | Ethan Rosenberg | Date: | Wed, 26 Jan 2011 05:05:29 +0000 |
| Subject: | Formatting | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-311032@lists.php.net to get a copy of this message | ||
Dear list -
I have a program with the following statement: $out = system('ls -l', $retval); The output is a string. How do I format the output to be in the Linux format, that is in columns. I cannot think of a way to use explode to do it.
Advice and comments, please.
Thanks
Ethan
MySQL 5.1 PHP 5.3.3-6 Linux [Debian (sid)]