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,649 All time: 1,442 This week: 263Up
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 <contact>
Classes: 12 packages by
Country: Bangladesh Bangladesh
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,649
This week:0
All time:1,442
This week:263Up
User Ratings User Comments (2)
 All time
Utility:95%StarStarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:95%StarStarStarStarStar
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:804