| --- |
--- |
|
');
echo('');
//now get those users
$cnt2=1;
$id=0;
$last_id=0;
while($cnt2!==$cnt+1)
{
$sql = "SELECT id, username FROM users WHERE id > $last_id ORDER BY id;";
$stmt = mysqli_prepare($link, $sql);
mysqli_stmt_execute($stmt);
mysqli_stmt_store_result($stmt);
mysqli_stmt_bind_result($stmt, $id,$username);
mysqli_stmt_fetch($stmt);
$last_id=$id;
echo('');
mysqli_stmt_close($stmt);
$cnt2++;
}
?>
|
|