Skip to content
This repository was archived by the owner on Feb 11, 2018. It is now read-only.

Update dashboard.php #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions views/life/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class="fa fa-arrow-circle-right"></i></a>
</div>
<div class="col-xs-9 text-right">
<?php
$sql = "SELECT `name` FROM `players` ORDER BY `insert_time` DESC LIMIT 1;";
$sql = "SELECT `name` FROM `players` ORDER BY `uid` DESC LIMIT 1;";
$result_of_query = $db_link->query($sql);
while ($row = mysqli_fetch_assoc($result_of_query)) {
echo "<h1>" . $row["name"] . "</h1>";
Expand Down Expand Up @@ -423,4 +423,4 @@ class="fa fa-arrow-circle-right"></i></a>
<?php
}
}
}
}