leoxdnardo
The Player
i have this query
UPDATE `accounts` SET `premium_points`='$ProdQuantidade_x' WHERE name = '$ProdID_x';
this will set premium points = $ProdQuantidade_x in the account name $ProdID_x
is there a way to add and not set
i tried this and it didnt work
UPDATE `accounts` ADD `premium_points`='$ProdQuantidade_x' WHERE name = '$ProdID_x';
UPDATE `accounts` SET `premium_points`='$ProdQuantidade_x' WHERE name = '$ProdID_x';
this will set premium points = $ProdQuantidade_x in the account name $ProdID_x
is there a way to add and not set
i tried this and it didnt work
UPDATE `accounts` ADD `premium_points`='$ProdQuantidade_x' WHERE name = '$ProdID_x';