Guest User

Untitled

a guest
Oct 22nd, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. <?php
  2. include("config.php");
  3.  
  4. $subid = mysql_real_escape_string($_GET['SubId']); # Username of the user that earned the reward(s).
  5. $earn = "0.50"; # Amount that the user has earned.
  6.  
  7. $query_add_credit = mysql_query("UPDATE [TABLE] SET [row=row=+]".$earn." WHERE uid='".$subid."'");
  8. mysql_close();
  9. ?>
Add Comment
Please, Sign In to add comment