importSqlWithPhp – Loading (Importing) SQL Files with Php
Sometimes you can't use PhpMyAdmin or any other database program, and you have to use other options to load the SQL file into the database. Here, I'll explain how to load it in PHP using both the old mysql_query and the new mysqli_query. You can also find the files on my GitHub project. Here's what you need to do with both methods: With the SQL file […]