From bd4c5e41db9824dc3f5e4dfc56edc9933ce053bb Mon Sep 17 00:00:00 2001 From: Sam White Date: Sun, 25 Feb 2024 06:34:12 -0700 Subject: [PATCH] Update members page after fixing duplicate database records. --- public_html/members.php | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/public_html/members.php b/public_html/members.php index 0cd3f49..e2ef47c 100644 --- a/public_html/members.php +++ b/public_html/members.php @@ -14,22 +14,23 @@ function content() { if (!check_logged_in()) {?>

Restricted access page

+ } + + # Count number of members in database. + $result = run_sql('SELECT COUNT(id) FROM members'); + $num_members = mysqli_fetch_row($result)[0];?>

YCRA Members

-

Below is a list of members, listed in order of newest first. If the member - tried to submit the membership form more than once (with the same email - address), only the latest submitted information is shown.

+

Below is a list of members, listed in order of newest first. We currently + have the details for members.

Click >here to download a CSV file containing the email addresses of all members.

-

Please note this is a work in progress and the membership records will be - fully reconciled at some point.

Please note this is a work in progress.

+ $result = run_sql('SELECT * FROM members ORDER BY id DESC');?> @@ -41,8 +42,7 @@ function content() { + while ($member = mysqli_fetch_array($result, MYSQLI_ASSOC)) {?> @@ -67,12 +67,10 @@ function content() {
Address PayPal?