PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2008-01-22 (8 years ago) RSS 2.0 feedStarStarStarStar 69%Total: 3,301 This week: 1All time: 1,017 This week: 1,047Down
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

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,301
This week:1
All time:1,017
This week:1,047Down
User Ratings User Comments (2)
 All time
Utility:89%StarStarStarStarStar
Consistency:89%StarStarStarStarStar
Documentation:67%StarStarStarStar
Examples:92%StarStarStarStarStar
Tests:-
Videos:-
Overall:69%StarStarStarStar
Rank:358