PHP code example of thamaraiselvam / mysql-import
1. Go to this page and download the library: Download thamaraiselvam/mysql-import library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
thamaraiselvam / mysql-import example snippets
Thamaraiselvam\MysqlImport\Import;
$filename = 'database.sql';
$username = 'root';
$password = '';
$database = 'sampleproject';
$host = 'localhost';
new Import($filename, $username, $password, $database, $host);