More general code cleanup/formatting

This commit is contained in:
Marcus Hill
2023-01-23 21:29:12 +00:00
parent 5d77be3f41
commit 3a54789c4b
9 changed files with 800 additions and 804 deletions

View File

@@ -62,7 +62,7 @@ $key = bin2hex(random_bytes(78));
<option value="0"> ALL CLIENTS </option>
<?php
$sql = mysqli_query($mysqli,"SELECT * FROM clients WHERE company_id = $session_company_id ORDER BY client_name ASC");
$sql = mysqli_query($mysqli, "SELECT * FROM clients WHERE company_id = $session_company_id ORDER BY client_name ASC");
while ($row = mysqli_fetch_array($sql)) {
$client_id = $row['client_id'];
$client_name = htmlentities($row['client_name']);
@@ -84,4 +84,4 @@ $key = bin2hex(random_bytes(78));
</form>
</div>
</div>
</div>
</div>