PHP Classes

Table Element: Generate HTML tables from the contents of cells

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,075 All time: 3,459 This week: 389Up
Version License Categories
table_element 1.0GNU General Publi...HTML
Description 

Author

This class generates HTML tables just by defining the contents of the table cells.

All the attributes of the HTML tags (table, tr and td) can be set using the class functions, including the attributes for defining the table elements event handling Javascript code.

The contents of the cells can be defined specifying the cell row and column coordinates.

If there were any table cells left in blank, the class will automatically expand the span of the preceeding row cells to include the blank cells. The class may also be instructed to include blank cells in the span of the preceeding row.

The HTML code generated is compliant with XHTML and is also correctly indented.

Picture of Carlos Reche
Name: Carlos Reche <contact>
Classes: 10 packages by
Country: Brazil Brazil
Age: 40
All time rank: 603 in Brazil Brazil
Week rank: 312 Down26 in Brazil Brazil Down
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file class.tableelement.php Class TableElement class file
Accessible without login Plain text file example.php Example A few examples of how to use TableElement class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,075
This week:0
All time:3,459
This week:389Up