|
12345678910111213141516171819 |
- <?php
-
- $config = include ('./config.php');
-
- $db_host = $config['host'];
- $db_port = $config['port'];
- $db_user = $config['user'];
- $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);
- unset ($db_port);
- unset ($db_user);
- unset ($db_pass);
-
|