Add: add_player

This commit is contained in:
2018-07-02 09:41:49 +09:00
parent 6c5eb43bb9
commit dc638a8e1b
4 changed files with 222 additions and 37 deletions
+7 -1
View File
@@ -25,7 +25,13 @@ $result = mysqli_query($db_conn, $query);
function send_error_message($replyJSON, $error_message) {
$replyJSON["ERROR"] = $error_message;
echo json_encode($replyJSON, JSON_UNESCAPED_UNICODE);
$db_conn->close();
// $db_conn->close();
}
function send_result_message($replyJSON, $result_message) {
$replyJSON["RESULT"] = $result_message;
echo json_encode($replyJSON, JSON_UNESCAPED_UNICODE);
// $db_conn->close();
}
?>