mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
switched from mysqli_fetch_array to mysqli_fetch_assoc in client modals
This commit is contained in:
@@ -97,7 +97,7 @@ ob_start();
|
||||
<option value="">- Select Referral -</option>
|
||||
<?php
|
||||
|
||||
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 } ?>
|
||||
@@ -131,7 +131,7 @@ ob_start();
|
||||
<select class="form-control select2" name="tags[]" data-placeholder="- Select Tags -"multiple>
|
||||
<?php
|
||||
|
||||
while ($row = mysqli_fetch_array($sql_tags_select)) {
|
||||
while ($row = mysqli_fetch_assoc($sql_tags_select)) {
|
||||
$tag_id_select = intval($row['tag_id']);
|
||||
$tag_name_select = nullable_htmlentities($row['tag_name']);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user