commision page and header user image
This commit is contained in:
@@ -21,7 +21,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
if (empty($userId) || empty($password)) {
|
||||
$error = "Please fill in all fields.";
|
||||
} else {
|
||||
$stmt = $conn->prepare("SELECT * FROM $table_users WHERE user_id = ? AND type = 'agent'");
|
||||
$stmt = $conn->prepare("SELECT * FROM $table_users WHERE user_id = ?");
|
||||
if (!$stmt) {
|
||||
$error = "Internal server error.";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user