sorted even more dropdowns alphabetically

This commit is contained in:
johnny@pittpc.com
2020-04-04 23:35:54 -04:00
parent 76709bdada
commit 7e1ee10a7f
14 changed files with 35 additions and 35 deletions

View File

@@ -133,7 +133,7 @@
<option value="">- Contact -</option>
<?php
$sql_vendors = mysqli_query($mysqli,"SELECT * FROM contacts WHERE client_id = $client_id");
$sql_vendors = mysqli_query($mysqli,"SELECT * FROM contacts WHERE client_id = $client_id ORDER BY contact_name ASC");
while($row = mysqli_fetch_array($sql_vendors)){
$contact_id = $row['contact_id'];
$contact_name = $row['contact_name'];