SELECT Meerdere rijen selecteren

$stmt = $mysqli->prepare('SELECT name, email FROM users');

$stmt->execute();
$stmt->store_result();
$stmt->bind_result($name, $email);

while($stmt->fetch()) {
echo $name;
echo $email;
}