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 is available for providing paid consulting. Contact Rupom Razzaque .
Classes: 12 packages by
Country: Bangladesh Bangladesh
Age: 41
All time rank: 171 in Bangladesh Bangladesh
Week rank: 553 Down13 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  
This week:0
All time:1,442
This week:263Up
User Ratings User Comments (2)
 All time