This class takes the results of a SQL query and outputs in the CSV (comma separated values) format in only 2 lines of code. This comes very handy when exporting data since CSV is a format that can be readily read by Excel and many other applications. You can even use it for Word’s Mail Merge!
The class offers the choice of sending the output to the browser or downloading it as a file. The name and extension of the dump file are defined by the developer.
This class is licensed under the GNU Lesser General Public License (LGPL), so feel free to use it, modify it as you want, although a little credit is always welcome. This class is featured on PHPClasses and Freshmeat. Get the Source code: Click here
Tags: .NET, Code, Content, CSV, Databases, Documentation, Excel, Extension, Free Tools, HTML, PHP, PHP Classes, SQL, Wordpress, ZIP















No user commented in " IAM CSVDump - Export SQL Queries to CSV "
Follow-up comment rss or Leave a Trackback