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