fix: navigate page
This commit is contained in:
@@ -27,10 +27,11 @@ function get_player_list_page($maestroID, $startNo, $endNo) {
|
||||
SELECT UserID, Name, EnterCode FROM moty_user
|
||||
WHERE MaestroID=?
|
||||
ORDER BY UserID DESC
|
||||
LIMIT ?, ?;
|
||||
LIMIT ?, 10;
|
||||
";
|
||||
$stmt = $db_conn->prepare($query);
|
||||
$stmt->bind_param('iii', $maestroID, $startNo, $endNo);
|
||||
// $stmt->bind_param('iii', $maestroID, $startNo, $endNo);
|
||||
$stmt->bind_param('ii', $maestroID, $startNo);
|
||||
$stmt->execute();
|
||||
$stmt->bind_result($userID, $name, $enterCode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user