PHP Classes

SQL Import: Execute MySQL queries imported from a file

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 30%Total: 2,856 This week: 1All time: 1,317 This week: 560Up
Version License PHP version Categories
sqlimport 1.0Public Domain4.0Databases, Files and Folders
Description 

Author

The class can be used to execute MySQL database queries imported from a file.

It opens a given file and reads it line by line to execute as SQL queries to a given MySQL database.

Picture of Ruben Crespo
  Performance   Level  
Name: Ruben Crespo <contact>
Classes: 6 packages by
Country: Spain Spain
Age: 46
All time rank: 1174 in Spain Spain
Week rank: 106 Up5 in Spain Spain Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file SQLTest.sql Data SQL File Example
Accessible without login Plain text file sqlImportExample.php Example Example
Plain text file ClassSQLimport.php Class Class Source

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,856
This week:1
All time:1,317
This week:560Up
User Ratings User Comments (2)
 All time
Utility:37%StarStar
Consistency:56%StarStarStar
Documentation:-
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:30%StarStar
Rank:4248
 
I've tested the example, and it doesn't work!!!
15 years ago (Mariano Gomez)
2%Star
That's a good, very useful and simple class to import sql .
15 years ago (José Filipe Lopes Santos)
70%StarStarStarStar