diff options
author | arf20 <aruizfernandez05@gmail.com> | 2024-03-19 18:21:02 +0100 |
---|---|---|
committer | arf20 <aruizfernandez05@gmail.com> | 2024-03-19 18:21:02 +0100 |
commit | 62e2bf48a0a82755e7e43f9b79b0977cd878476f (patch) | |
tree | 6bef15a869046cafcd918bdb87baf75090222a65 /manageorders.php | |
parent | 04f53e2d62a402661dcc2ef4aa635c352c0a134d (diff) | |
download | arfnet2-cstims-62e2bf48a0a82755e7e43f9b79b0977cd878476f.tar.gz arfnet2-cstims-62e2bf48a0a82755e7e43f9b79b0977cd878476f.zip |
Send admin order mail
Diffstat (limited to 'manageorders.php')
-rw-r--r-- | manageorders.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manageorders.php b/manageorders.php index 596b351..9452509 100644 --- a/manageorders.php +++ b/manageorders.php @@ -15,10 +15,10 @@ if ($type != "admin") die("Permission denied."); require_once "config.php"; // Get clients -$sql = "SELECT id, username FROM users WHERE type = ?"; +$sql = "SELECT id, username FROM users WHERE type = 'client'"; $stmt = mysqli_prepare($link, $sql); -mysqli_stmt_bind_param($stmt, "s", $param_type); -$param_type = "client"; +//mysqli_stmt_bind_param($stmt, "s", $param_type); +//$param_type = "client"; mysqli_stmt_execute($stmt); $result = mysqli_stmt_get_result($stmt); $clients = $result->fetch_all(MYSQLI_ASSOC); |