Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffhumphrey committed Aug 9, 2023
2 parents 3b4ea7b + cc74a35 commit fb578b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/db/sponsors.db.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
else {
if ($dbTable == "default") $sponsors_db_table = $prefix."sponsors";
if ($dbTable != "default") $sponsors_db_table = $dbTable;
$query_sponsors = sprintf("SELECT * FROM %s", $sponsors_db_table);
$query_sponsors = sprintf("SELECT * FROM %s ORDER BY sponsorLevel, sponsorName ASC", $sponsors_db_table);
}
$sponsors = mysqli_query($connection,$query_sponsors) or die (mysqli_error($connection));
$row_sponsors = mysqli_fetch_assoc($sponsors);
$totalRows_sponsors = mysqli_num_rows($sponsors);

?>
?>

0 comments on commit fb578b7

Please sign in to comment.