title: MySQL UPDATE - updating multiple rows?
body: <pre><code>mysql_query("UPDATE `users` SET `balance` = 0 WHERE `username` = '$uid' AND '$ip'");
  </code></pre>
  
  <p>How would I make it update the database where the username is equal to the UID or if the username is equal to the $ip?</p>
  
  <p>Thanks.</p>