PHP Classes

table2arr: Parse HTML tables and extract data into arrays

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 70%Total: 2,642 All time: 1,449 This week: 36Up
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: 74
All time rank: 77323 in Poland Poland
Week rank: 180 Up1 in Poland Poland Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (5)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,642
This week:0
All time:1,449
This week:36Up
User Ratings User Comments (2)
 All time
Utility:92%StarStarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:73%StarStarStarStar
Examples:85%StarStarStarStarStar
Tests:-
Videos:-
Overall:70%StarStarStarStar
Rank:248
 
Very good solution!
8 years ago (Xen)
72%StarStarStarStar
The package will not handle <th> style headers.
10 years ago (Jeff Stander)
37%StarStar