Guest User

Untitled

a guest
Apr 19th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. ...
  2. $total = mysql_query("SELECT score FROM team1");
  3. $total = $total + $mytotal;
  4. mysql_query("UPDATE team1 SET score='".$total."'");
  5. ...
  6.  
  7. update teams
  8. set score = score + 1
  9. where team_id = 1
Add Comment
Please, Sign In to add comment