Add: ScreenBottom

This commit is contained in:
2018-05-06 18:47:17 +09:00
parent de600603da
commit 8d9e3c49b3
9 changed files with 162 additions and 122 deletions
+24
View File
@@ -0,0 +1,24 @@
<?php
$hasServiceDBSetting = file_exists("./service_db_setting.php");
if($hasServiceDBSetting == true) {
include("./service_db_setting.php");
} else {
$db_host = "localhost";
$db_user = "afterschool";
$db_passwd = "sEobMPuJ2A8KTfwU";
$db_name = "jisangs";
}
$db_conn = new mysqli($db_host, $db_user, $db_passwd, $db_name);
if ($db_conn->connect_error) {
send_error_code("Connection failed: ".$db_conn->connect_error);
exit;
}
$query = "USE jisangs";
$result = mysqli_query($db_conn, $query);
?>