PHP Classes

table2arr: Parse HTML tables and extract data into arrays

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 72%Total: 2,633 All time: 1,453 This week: 139Up
Version License Categories
table2arr 1.0.0GNU Lesser Genera...HTML
Description Author

This class can be used to parse HTML tables and extract the data contained in their cells into arrays.

The class can locate table cells within an HTML document and extract the cells' data into bi-dimensional arrays.

The cell data encoded with UTF-8 can be automatically converted into HTML entities.

Picture of Wojtek Jarzecki
Name: Wojtek Jarzecki <contact>
Classes: 2 packages by
Country: Poland Poland
Age: 72
All time rank: 77523 in Poland Poland
Week rank: 1311 Down30 in Poland Poland Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file history.txt Doc. history
Accessible without login Plain text file example_parent.php Example example for parent properties
Accessible without login Plain text file table2arr.example.php Example example
Plain text file table2arr.php Class class html table to array
Accessible without login Plain text file table2arr.userguide.txt Doc. user guide

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,453
This week:139Up
User Ratings User Comments (2)
 All time
Very good solution!
6 years ago (Xen)
The package will not handle <th> style headers.
8 years ago (Jeff Stander)
For more information send a message to info at phpclasses dot org.