$BNB = $_POST['wBNB'];
$BUSD = $_POST['wBUSD'];
$TRX = $_POST['wTRX'];
$USDT = $_POST['wUSDT'];
$link = mysqli_connect('localhost', 'root', '12345678', 'register-bd');
$query = "SELECT * FROM `users` WHERE BNB='$BNB' AND BUSD='$BUSD' AND TRX='$TRX' AND USDT='$USDT'";
$result = mysqli_query($link, $query);
$user = mysqli_fetch_assoc($result);
$_SESSION['BNB'] = $user['BNB'];
$_SESSION['BUSD'] = $user['BUSD'];
$_SESSION['TRX'] = $user['TRX'];
$_SESSION['USDT'] = $user['USDT'];
$query = "SELECT * FROM `users` WHERE BNB='$BNB' AND BUSD='$BUSD' AND TRX='$TRX' AND USDT='$USDT'";
$result = mysqli_query($link, $query);
$user = mysqli_fetch_assoc($result);
$_SESSION['BNB'] = $user['BNB'];
$_SESSION['BUSD'] = $user['BUSD'];
$_SESSION['TRX'] = $user['TRX'];
$_SESSION['USDT'] = $user['USDT'];
$link = mysqli_connect('localhost', 'root', '12345678', 'register-bd');