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

@@ -71,7 +71,7 @@
<?php
$sql = mysqli_query($mysqli, "SELECT client_id, client_name FROM clients ORDER BY client_name ASC");
while ($row = mysqli_fetch_array($sql)) {
while ($row = mysqli_fetch_assoc($sql)) {
$client_id = intval($row['client_id']);
$client_name = nullable_htmlentities($row['client_name']);
?>