michaelyuen

Untitled

May 6th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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'];
  6.         }
  7.     }
  8. }
Add Comment
Please, Sign In to add comment