PHP Classes

SQL2CSV: Output MySQL query in the CSV format

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-09-27 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 931 This week: 1All time: 3,637 This week: 1,128Up
Version License Categories  
sql2csv 1.0FreewareDatabases, Files and Folders
Description Author  

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 United Kingdom
Age: 34
All time rank: 124955 in United Kingdom United Kingdom
Week rank: 620 Up27 in United Kingdom 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  
 0%Total:931All time:3,637
 This week:1This week:1,128Up