Update add_client.php
This commit is contained in:
@@ -76,6 +76,7 @@ include "../../../config.php";
|
|||||||
|
|
||||||
//check if there isn't a machine with the same name allready
|
//check if there isn't a machine with the same name allready
|
||||||
$sql = "SELECT * FROM machines WHERE machine_location = ?";
|
$sql = "SELECT * FROM machines WHERE machine_location = ?";
|
||||||
|
$stmt = $conn->prepare($sql);
|
||||||
$stmt->bind_param("s", $location);
|
$stmt->bind_param("s", $location);
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
// Get the result
|
// Get the result
|
||||||
|
|||||||
Reference in New Issue
Block a user