Update manage_user.php

This commit is contained in:
jakani24
2024-03-09 18:08:40 +01:00
parent 1c3c2f5ff3
commit 7ccf57673e

View File

@@ -41,7 +41,8 @@ include "perms_functions.php";
}
$sql="SELECT * FROM users WHERE id=?";
$stmt = $conn->prepare($sql);
$stmt->bind_param("i", htmlspecialchars($_GET["userid"]));
$m_userid=htmlspecialchars($_GET["userid"]);
$stmt->bind_param("i", $m_userid);
$stmt->execute();
// Get the result
$result = $stmt->get_result();