commision page and header user image

This commit is contained in:
ns77@siliconpin.com
2025-09-05 15:05:00 +00:00
parent 3af87688c0
commit 01966257bc
3 changed files with 33 additions and 40 deletions

View File

@@ -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 {