PHP Classes

CSV Creation: Create CSV files from MySQL table data

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   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: 44
All time rank: 96356 in India India
Week rank: 200 Up20 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 (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 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:566