Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- amount is either 1, 5, 10, or 20
- i need u to call this with the correct amount (above are the choices, u can do this based on the price of each token).
- 1 token = 1.00$ , so if the price is 1.00, then the amount is 1, so u just add 1 to the tokens amount. (which i have below)
- $newTokens = $tokens + $amount;
- $result = mysql_query("UPDATE loginDb SET tokens='$newTokens' WHERE id='$id'")
- or die(mysql_error());
- $result = mysql_query("SELECT * FROM loginDb WHERE id='$id'")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement