create a text table with php using fixed width font
Posted
by Hintswen
on Stack Overflow
See other posts from Stack Overflow
or by Hintswen
Published on 2010-03-15T04:26:02Z
Indexed on
2010/03/15
4:29 UTC
Read the original article
Hit count: 336
I want to write a PHP script to output some data as a plain-text table using spaces to get the data into columns (just like the Linux top
command). I can't use a HTML table as the script output will be saved to disk and viewed in a plain-text editor.
Is there anything available that can do this automatically (format the data into columns)?
© Stack Overflow or respective owner