PHP Classes

SQL2CSV: Output MySQL query in the CSV format

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 960 All time: 3,752 This week: 129Up
Version License Categories
sql2csv 1.0FreewareDatabases, Files and Folders


This is a simple class that can output MySQL query results in the CSV format (Comma Separated Values).

It executes a given SQL query, extracts the query column names and data rows to output in the CSV format.

The results are served as the current script output as a file for download.

Picture of Andris Causs
Name: Andris Causs <contact>
Classes: 2 packages by
Country: United Kingdom
Age: 42
All time rank: 126057 in United Kingdom
Week rank: 398 Up9 in United Kingdom Up

  Files folder image Files  
File Role Description
Plain text file class.sql2csv.php Class Main source file
Accessible without login Plain text file example.php Example Example base file
Accessible without login Plain text file dump_data.php Example Example anchor target

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,752
This week:129Up