diff --git a/db_connection.php b/db_connection.php index 289f93a..b083c5e 100644 --- a/db_connection.php +++ b/db_connection.php @@ -9,6 +9,7 @@ $db_pass = $config['pass']; $__db_connection = new mysqli ($db_host, $db_user, $db_pass, 'goatoh_training', $db_port); +$__db_connection -> set_charset ('utf8'); unset ($config); unset ($db_host); diff --git a/migrate.php b/migrate.php new file mode 100644 index 0000000..27fc12d --- /dev/null +++ b/migrate.php @@ -0,0 +1,10 @@ + query (file_get_contents ($file)); +