Hey, I'm just wondering if there was a built in PHP or MySQL feature to import a file into a database.
I could explode on ';' and run them individually, I could also use the mysqli wrapper to usethe "multiquery" function they have.
But I feel both of these are more of a workaround than a solution.
Any ideas?
Importing .sql file thru php.
Moderator: General Moderators