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

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