Create CSV: Generate CSV files from MySQL query results

Recommend this page to a friend!
  Info   View files (2)   Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
65%Total: 3,814 All time: 834 This week: 372
Version License PHP version Categories
create_csv 1.0.0Freely Distributable4.0Databases, Files and Folders
Description Author

This is a very simple class that can be used to generate CSV files from MySQL query results.

It can execute a MySQL database query and use the results to format the contents of a CSV file.

The CSV file contents is returned as a string, so it can be served for download or stored in a server file.

Picture of Ellery Leung
Name: Ellery Leung <contact>
Classes: 6 packages by
Country: Hong Kong Hong Kong
Age: ???
All time rank: 3341 in Hong Kong Hong Kong
Week rank: 713 2 in Hong Kong Hong Kong

  Files  
File Role Description
CreateCSV.class.php Class Source
example_csv.php Example Example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,814
This week:0
All time:834
This week:372
User Ratings User Comments (1)
 All time
Utility:95%
Consistency:95%
Documentation:-
Examples:79%
Tests:-
Videos:-
Overall:65%
Rank:805
 
The code is a little out of date but it works fine.
2 years ago (zinsou A.A.E.Mo´se)
67%
 

For more information send a message to info at phpclasses dot org.