First Commit

This commit is contained in:
mark committed 2026-10-19 15:22:52 -07:00
1 parent 5eb9dd037d
commit 2e62c0e60b
11877 files changed
+2035312

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
<?php
$query = "SELECT staff_category, count(*) AS num FROM people WHERE school_num = $school_num AND people_type = 'Staff' GROUP BY 1";
$results = db_query($query);
while ($row = db_fetch_assoc($results)) {
extract($row);
$query = "UPDATE staff_categories SET member_count = $num WHERE school_num = $school_num AND record_num = $staff_category";
db_query($query);
}
?>