add usersearch query
This commit is contained in:
19
website/queries/user.php
Normal file
19
website/queries/user.php
Normal 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
|
||||
");
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user