Skip to content

Commit 643d445

Browse files
authored
Update my-sql-import (restore) database.php
1 parent c74700d commit 643d445

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

my-sql-import (restore) database.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
// EXAMPLE: IMPORT_TABLES("localhost","user","pass","db_name", "my_baseeee.sql"); //TABLES WILL BE OVERWRITTEN
3-
// P.S. IMPORTANT NOTE for people who try to change/replace some strings in SQL FILE before importing, MUST READ: https://goo.gl/2fZDQL
3+
// P.S. IMPORTANT NOTE for people who try to change/replace some strings in SQL FILE before importing, MUST READ: https://github.com/ttodua/useful-php-scripts/blob/master/my-sql-export%20(backup)%20database.php
44

5-
// https://github.com/tazotodua/useful-php-scripts
5+
// https://github.com/ttodua/useful-php-scripts
66
function IMPORT_TABLES($host,$user,$pass,$dbname, $sql_file_OR_content){
77
set_time_limit(3000);
88
$SQL_CONTENT = (strlen($sql_file_OR_content) > 300 ? $sql_file_OR_content : file_get_contents($sql_file_OR_content) );

0 commit comments

Comments
 (0)