View difference between Paste ID: m5TcfKA4 and yjjpubCZ
SHOW: | | - or go back to the newest paste.
1
<?php
2
if ($result = mysqli_query($con, "SELECT `Balance` FROM table WHERE `username` = '...'") {
3
	if (mysqli_num_rows($result) > 0) {
4
		while ($row = mysqli_fetch_assoc($result) {
5-
			$balance = $row['Balance'];
5+
			echo $row['Balance'];
6
		}
7
	}
8
}