PHP Classes

CSV Creation: Create CSV files from MySQL table data

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 65%Total: 3,314 All time: 1,045 This week: 488Up
Version License PHP version Categories
csvcreation 0.1GNU General Publi...3Databases, Files and Folders
Description 

Author

This class can be used to create CSV (Comma Separated Values) files from MySQL database table data.

It executes an SQL query to retrieve all the data in a given MySQL table and generates a CSV file with the table data.

The CSV file name is the table name followed by the .csv extension. The directory where the file is created is configurable.

The class can also iterate over all tables of a MySQL database and generate CSV files from their contents within a single class call.

Picture of Manimaran
Name: Manimaran <contact>
Classes: 1 package by
Country: India India
Age: 43
All time rank: 96256 in India India
Week rank: 321 Up22 in India India Up

Details

########################################################################################## # csv creation , a php script that creates csv file form mysql database. # # License: GPL # # Manimaran V. Mail: manimaranvel@yahoo.com # ########################################################################################## Installation 1. Replace appropriate HOSTNAME,DBNAME,USER and PASSWORD from inc.csvcreation.php file $this->db_server = 'HOSTNAME'; $this->db_name = 'DBNAME'; $this->db_user = 'USER'; $this->db_pass = 'PASSWORD'; 2. create a folder called temp in root folder 3. run the sample.php file that's it For further clarificatio mail me........

  Files folder image Files  
File Role Description
Plain text file inc.csvcreation.php Class class file for csv creation
Accessible without login Plain text file readme.txt Doc. Readme
Accessible without login Plain text file sample.php Example Sample example file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,314
This week:0
All time:1,045
This week:488Up
User Ratings User Comments (2)
 All time
Utility:84%StarStarStarStarStar
Consistency:84%StarStarStarStarStar
Documentation:65%StarStarStarStar
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:570