StringGrid: Display information in plain text tables

Recommend this page to a friend!
  Info   Screenshots   View files (3)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 538 All time: 5,501 This week: 413
Version License PHP version Categories
stringgrid 0.1GNU General Publi...3.0Text processing
Description Author

This class can be used to present information tables rendered with plain text characters.

It takes a bi-dimensional array of data and generates text that renders the data in a table aligning rows and columns.

The layout can be configure with additional information that specified details like the limit width of each column, vertical and horizontal alignment of the cells of each column, the characters used to separate rows, columns and line breaks.

Innovation Award
PHP Programming Innovation award nominee
July 2007
Number 10

Prize: One subscription to the PDF edition of the magazine by PHP Architect
Tables are useful for displaying information in cells that must be aligned with other cells simultaneously in the horizontal and vertical directions.

Tables are supported directly by HTML. However, if you need to render tables in plain text the solution is more complicated.

This package can render tables in plain text. It can be useful for displaying table formatted information, for instance to generate text e-mail newsletters.

Manuel Lemos
Picture of Jochen Preusche
Name: Jochen Preusche <contact>
Classes: 1 package by
Country: Germany Germany
Age: 41
All time rank: 3124180 in Germany Germany
Week rank: 762 36 in Germany Germany
Innovation award
Innovation award
Nominee: 1x

  • stringGrid.png
  • output
File Role Description
example2.php Example example #2
example1.php Example example #1
class.stringGrid.php Class StringGrid class package

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,501
This week:413

For more information send a message to info at phpclasses dot org.