If user come from:
$sql = mysql_query("UPDATE account.account SET coins = coins + 50 WHERE id='".$_SESSION['user_id']."'")
Coins in database.
If user comes from another page, page give error:
Error, you don't pay for that.
I need that in php.
Someone can help me?
Thank you.
Page add:Quote:
[Only registered and activated users can see links. Click Here To Register...]
$sql = mysql_query("UPDATE account.account SET coins = coins + 50 WHERE id='".$_SESSION['user_id']."'")
Coins in database.
If user comes from another page, page give error:
Error, you don't pay for that.
I need that in php.
Someone can help me?
Thank you.