Working on a script and i realased i cant a shit about Sql.
I need to check if two string is right. Frist this.
ans second this:
First need to do this. Insert to accounts -> player_point, Add "addpoints" to value.
Second need to change: Zaypay_payment ->status, Change to "PAID"
Anyone?
I need to check if two string is right. Frist this.
PHP:
mysql_query("UPDATE accounts SET premium_points = +='$addpoints' WHERE accounts.id = '{$account_id}'");
ans second this:
PHP:
mysql_query("UPDATE zaypay_payment (payment_id, account_id, status) VALUES ('{$Zaypay->getPaymentId()}', '{$_SESSION['account']}', 'PAID')");
First need to do this. Insert to accounts -> player_point, Add "addpoints" to value.
Second need to change: Zaypay_payment ->status, Change to "PAID"
Anyone?
Last edited: