Console Table classA class for building console/ASCII based tables (like the ones the MySQL client produces). Has Append/Prepend/Insert methods and supports table headers and footers. Automatically handles setting the correct widths for columns. Example
Produces... +--------------+---------------+--------------+ | First Column | Second Column | Third Column | +--------------+---------------+--------------+ | | | | | foo | bar | jello | | foo | bar | jello | | foo | bar | jello | | foo | bar | jello | | | | | | | | | | | | | | | ferfr | frf r | +--------------+---------------+--------------+ | Yabba | | | +--------------+---------------+--------------+ Link to meIf you use any of the code on this site (and if you don't I guess) or it makes your life easier, I'd appreciate a link - http://www.phpguru.org. Thanks. |
