switched from mysqli_fetch_array to mysqli_fetch_assoc in client modals

This commit is contained in:
johnnyq
2026-01-10 16:09:03 -05:00
parent 8b221bc055
commit 2193cd8d3e
6 changed files with 12 additions and 12 deletions

View File

@@ -32,7 +32,7 @@ ob_start();
<option value="">- Select a Referral -</option>
<?php
$referral_sql = mysqli_query($mysqli, "SELECT * FROM categories WHERE category_type = 'Referral' AND category_archived_at IS NULL ORDER BY category_name ASC");
while ($row = mysqli_fetch_array($referral_sql)) {
while ($row = mysqli_fetch_assoc($referral_sql)) {
$referral = nullable_htmlentities($row['category_name']); ?>
<option><?php echo $referral; ?></option>
<?php } ?>