PHP Classes

PHP MySQL Query CSV Export and Download: Export MySQL query results as a CSV file

Recommend this page to a friend!
  Info   View files Documentation   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-04-09 (5 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 85 All time: 9,943 This week: 186Up
Version License PHP version Categories
heavycsvexport 1.0MIT/X Consortium ...5PHP 5, Databases, Files and Folders, U..., C...
Description 

Author

This class can export MySQL query results as a CSV file.

It can execute a given SQL query using the MySQL command line shell program to save the query results as a CSV file to avoid exceeding the PHP memory limit, especially when the query results return over 30,000 records.

The package can serve the generated CSV file to let users download it.

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

Documentation

 

  Files folder image Files  
File Role Description
Plain text file downloadCSV.php Class Download CSV via shell.
Accessible without login HTML file documentation.html Doc. Documentation
Accessible without login Plain text file Readme.md Doc. Readme

 Version Control Unique User Downloads Download Rankings  
 0%
Total:85
This week:0
All time:9,943
This week:186Up