query("SELECT m.ID, m.Username, i.Donor, i.BitcoinAddress FROM users_main m INNER JOIN users_info i ON m.ID = i.UserID WHERE BitcoinAddress IS NOT NULL"); ?>

next_record()) { $amount = false; foreach ($Receiveds as $R) { if ($R->address == $row['BitcoinAddress']) { $amount = $R->amount . ' BTC'; } } if ($amount === false) { continue; } ?>
Username Receiving bitcoin address Amount