PHP Classes

SQL Parsing: Parse and execute MySQL statements from a file

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 65%Total: 2,650 This week: 1All time: 1,442 This week: 560Up
Version License Categories
sql_parse 1.0GNU General Publi...Databases, Files and Folders, Text pr...
Description 

Author

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.

Picture of Rupom Razzaque
  Performance   Level  
Name: Rupom Razzaque is available for providing paid consulting. Contact Rupom Razzaque .
Classes: 12 packages by
Country: Bangladesh Bangladesh
Age: 42
All time rank: 171 in Bangladesh Bangladesh
Week rank: 411 Down7 in Bangladesh Bangladesh Down
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file parse.class.php Class The Class File
Accessible without login Plain text file test.php Example Example Usage of the Class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,650
This week:1
All time:1,442
This week:560Up
User Ratings User Comments (2)
 All time
Utility:95%StarStarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:95%StarStarStarStarStar
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:618