Update add_client.php

This commit is contained in:
jakani24
2024-03-09 16:05:49 +01:00
parent 0466def08b
commit 598129e1f7

View File

@@ -76,6 +76,7 @@ include "../../../config.php";
//check if there isn't a machine with the same name allready
$sql = "SELECT * FROM machines WHERE machine_location = ?";
$stmt = $conn->prepare($sql);
$stmt->bind_param("s", $location);
$stmt->execute();
// Get the result