mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-01-20 10:52:15 +01:00
Use order by to know order of yubikeys
This commit is contained in:
parent
aafd8f80b8
commit
4551dff93d
@ -21,7 +21,7 @@ if (!$db->connect()) {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
$result=$db->customQuery("SELECT active, created, modified, yk_publicname, yk_counter, yk_use, yk_low, yk_high, nonce, notes FROM yubikeys");
|
$result=$db->customQuery("SELECT active, created, modified, yk_publicname, yk_counter, yk_use, yk_low, yk_high, nonce, notes FROM yubikeys ORDER BY yk_publicname");
|
||||||
while($row = $result->fetch(PDO::FETCH_ASSOC)){
|
while($row = $result->fetch(PDO::FETCH_ASSOC)){
|
||||||
echo $row['active'] .
|
echo $row['active'] .
|
||||||
"\t" . $row['created'] .
|
"\t" . $row['created'] .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user