query("SELECT COUNT(*) FROM users")->fetchColumn(); $lpas_count = db()->query("SELECT COUNT(*) FROM lpa_applications")->fetchColumn(); // Get all users $users = db()->query("SELECT * FROM users ORDER BY created_at DESC LIMIT 50")->fetchAll(); // Get all LPAs $lpas = db()->query("SELECT * FROM lpa_applications ORDER BY created_at DESC LIMIT 50")->fetchAll(); } catch (PDOException $e) { error_log($e->getMessage()); } ?>
Overview of all users and applications in the system.
| Name | Role | Verified | Joined | |
|---|---|---|---|---|
| Yes No |
| Type | Donor | Progress | Status | Actions |
|---|---|---|---|---|
|
ID: #
|
|
|||
| No applications found. | ||||