Login   Register  
PHP Classes
elePHPant
Icontem

Class: SQL Parsing

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Rupom Razzaque  >  SQL Parsing  >  Download .tar.gz .zip  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: SQL Parsing
Base name: sql_parse
Description: Parse and execute MySQL statements from a file
Related classes: , , , , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 2336 users
All time rank: 1369
Week users: 2 users
Week rank: 1677
Picture of Rupom Razzaque
Author: Rupom Razzaque is available for providing paid consulting. Contact Rupom Razzaque .
Packages: 12 Browse this author's classes Browse this author's classes
Country: Bangladesh Bangladesh - PHP jobs in Bangladesh
Age: 30
All time rank: 161 in Bangladesh Bangladesh
Week rank: 32 Down2 in Bangladesh Bangladesh Down
Innovation award
Innovation award
Nominee: 1x

Winner: 1x


  Detailed description  
This is a simple class that can parse text files with a list of MySQL query statements to be executed.

The class splits the file lines, skips comment lines and gathers all consecutive lines until the one ends with semi-colon to get the complete SQL statement.

Each statement is executed as MySQL query to the current default MySQL database connection.

 

  Groups  
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes

  Rate classes User ratings   Trackback   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (95.0%)
Good (85.0%)
-
Good (95.0%)
-
-
Sufficient (65.5%)
414
Month:
Not yet rated by the users

  Trackback links  
Link Description
MySQL Install.datei Wenn du nur die Create Tables in eine Textfile Exportierst könnte dir diese Klasse helfen:..

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file parse.class.php Class The Class File
Plain text file test.php Example Example Usage of the Class

Download all files: sql_parse.tar.gz sql_parse.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.