Quote:
Originally Posted by joeroberts
he did not post paypal.php so I would have to so it dose not notify you on any thing.
It relly's on the user to do that.
|
i have this not working at all update the account-details
PHP Code:
if ($payment_amount == 5 || $payment_amount == 10 || $payment_amount == 20 || $payment_amount == 30 || $payment_amount == 40 || $payment_amount == 50 ) {
if ($class <= 4){
$class = 4;
}
$query = "UPDATE users SET donated = donated + '$payment_amount', class=$class, warned ='no', invites = invites + $invites, uploaded = uploaded + $donb where id='$clid'";
$result = mysql_query($query);
}
}
}
else if (strcmp ($res, "INVALID") == 0) {
header("Refresh: 4;url=account-details.php?id=$clid");
}
}
fclose ($fp);
}
?>