Advertisement
michaelyuen

Untitled

May 6th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.21 KB | None | 0 0
  1. if ($result = mysqli_query($con, "SELECT `Balance` FROM table WHERE `username` = '...'") {
  2.     if (mysqli_num_rows($result) > 0) {
  3.         while ($row = mysqli_fetch_assoc($result) {
  4.             $balance = $row['Balance'];
  5.         }
  6.     }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement