$result1 = $DB->iselect("SELECT * FROM matches WHERE verified = 1 ORDER BY id DESC");
while($res1 = mysqli_fetch_assoc($result1)){}
$rows = mysqli_fetch_all(
$DB->iselect("SELECT * FROM matches WHERE verified = 1 ORDER BY id DESC")
);
// 1
foreach ($rows as $row) { }
// 2
foreach ($rows as $row) { }