I have this code:
$polaczenie = @new mysqli($host, $db_user, $db_password, $db_name); ...
... $result2 = mysqli_query($polaczenie, "SELECT money FROM roulette.users WHERE
userSteamID='$SteamID'");
while($row = mysqli_fetch_assoc($result2)){
print_r($row);
}
and I get this result: Array ( [money] => 15 )
,
but I want this: var $money = 15
How to convert Object of class mysqli_result to String?