prepare('DELETE FROM users WHERE id = ?'); $stmt->execute([$user_id]); header('Location: admin_dashboard.php'); exit; } else { header('Location: admin_dashboard.php'); exit; } ?>