Add: maestro DB - AvailableActivateDateTime

This commit is contained in:
2018-07-19 10:57:04 +09:00
parent 0bf3adb4ed
commit c2f478c97f
5 changed files with 39 additions and 25 deletions
+5 -1
View File
@@ -44,7 +44,11 @@ exit;
function hasMaestroName($maestroName) {
global $db_conn;
$query = "SELECT MaestroID FROM moty_maestro WHERE Name=?";
$query = "
SELECT MaestroID
FROM moty_maestro
WHERE Name = ?
";
$stmt = $db_conn->prepare($query);
$stmt->bind_param("s", $maestroName);
$stmt->execute();