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    
Last Updated Ratings Unique User Downloads Download Rankings
2006-02-11 (14 years ago) RSS 2.0 feedStarStarStarStar 65%Total: 2,644 All time: 1,433 This week: 328Up
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.

  Performance   Level  
Name: Rupom Razzaque is available for providing paid consulting. Contact Rupom Razzaque .
Classes: 12 packages by
Country: Bangladesh Bangladesh
Age: 38
All time rank: 171 in Bangladesh Bangladesh
Week rank: 807 Down21 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,433
This week:328Up
User Ratings User Comments (2)
 All time