add usersearch query

This commit is contained in:
Hendrik
2017-01-17 15:13:32 +01:00
parent 877072f9e3
commit 146fc7108b

19
website/queries/user.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
function selectSomeUsers($db, $n) {
return $db->query("
SELECT
`userID`,
`username`,
`role`,
`bancomment`
FROM
`user`
ORDER BY
`username`
LIMIT
$n
");
}
?>