Du vil sikkert gerne gøre sådan noget.
while (true) {
if ($this->Result = mysqli_store_result($this->LinkId)) {
while ($row = mysqli_fetch_array($this->Result , MYSQLI_ASSOC)) {
$arrRes[] = $row;
}
mysqli_free_result($this->Result);
}
if (mysqli_more_results($this->LinkId)) {
mysqli_next_result($this->LinkId);
} else {
break;
}
}