PHP Classes

csv2tbl: Display the contents of a CSV file in a HTML table

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 360 All time: 6,896 This week: 204Up
Version License PHP version Categories
csv2tbl 1.0GNU General Publi...4HTML, Files and Folders


This class can display the contents of a CSV file in a HTML table.

It can parse a given file with tabular data in CSV format and generates an HTML table with the extracted data.

Certain columns and rows of the CSV file may be omitted from the table output.

The generated table may present custom header titles or extract the titles from the CSV file. The table may show rows with alternating styles.

Picture of Mark Berube
Name: Mark Berube <contact>
Classes: 6 packages by
Country: United States United States
Age: 55
All time rank: 949131 in United States United States
Week rank: 332 Up41 in United States United States Up

  • HTML_display_output.png
  Files folder image Files  
File Role Description
Plain text file class.csv2tbl.php Class Main Class
Plain text file csv.txt Data Sample data file for example page
Accessible without login Plain text file csv_read.php Example Working example of usage

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,896
This week:204Up
User Comments (2)
Not so useful!
12 years ago (Giangy Ventu)
This is a very good and useful class !
12 years ago (Josť Filipe Lopes Santos)