PHP Classes

PHP MySQL Query Download to CSV File: Download results for a large MySQL query in CSV

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2023-05-20 (4 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 74 All time: 10,101 This week: 138Up
Version License PHP version Categories
phpdownloadcsv 1.0MIT/X Consortium ...5Databases, Utilities and Tools, Files..., P...


This package can download results for a large MySQL query in CSV.

It can take a given SQL query and connects to a given MySQL database server to generate a raw SQL query by replacing prepared parameters using PDO.

The package can execute the mysql command line program to execute the prepare query and output the results to a CSV file in a server directory.

It can also serve the generated CSV file for download.

Picture of Ramesh Narayan Jangid
  Performance   Level  
Name: Ramesh Narayan Jangid <contact>
Classes: 6 packages by
Country: India India
Age: 47
All time rank: 3445227 in India India
Week rank: 21 Up3 in India India Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file downloadCsv.php Class Class source
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:10,101
This week:138Up