From: Sam White Date: Sun, 25 Feb 2024 13:34:12 +0000 (-0700) Subject: Update members page after fixing duplicate database records. X-Git-Url: https://git.dalvak.com/public/?a=commitdiff_plain;h=bd4c5e41db9824dc3f5e4dfc56edc9933ce053bb;p=ycra.git Update members page after fixing duplicate database records. --- 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?