Re: How to format CLI tabular data?
| From: | tedd | Date: | Wed, 10 Oct 2007 15:58:51 +0000 |
| Subject: | Re: How to format CLI tabular data? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263046@lists.php.net to get a copy of this message | ||
At 12:30 PM -0700 10/9/07, Jim Lucas wrote:
tedd wrote:Yeah, but what's the point of reading what the OP wants if you've already predetermined what the answer is? :-) Besides, I think I demonstrated that I didn't know the answer anyway. But, I though it an interesting exercise to create a table without using table tags. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.comAt 12:05 AM -0700 10/9/07, Jim Lucas wrote:Wasn't he asking for something that was to display in the console?Daevid Vincent wrote:-snip- code Jim: Thanks for the code. I've altered it to display a table in a browser: http://webbytedd.com/bbb/table/ Code is shown there. Cheers, teddDoes PHP have any tools like this? I'd prefer not to pull in some PEAR package or other bloat, but I'll take what I can get if it actually works well. I was hoping there are some tips/tricks to show simple tabular data: -snip- notice basic things like alignment, length of data (as in 'tabs' won't work), etc.Try this out