If you want to add to what already exists you must do this account, so:
"UPDATE `login` SET diasvip = diasvip + " . $_POST["qntvip"] . " WHERE userid = '".$_POST["userid"] . "'"
I put in the Github for future reference.
Note that you are riding a string then the plus sign should already be inside the text, what you put outside the text is just what varies.
And you should not put apostrophe on all data, only when it is characters, in the case of the amount that is a number, should not have.
Note that this form is extremely insecure, I would reverse it to not suffer SQL Injection.
Perfect that same ;) Thank you.
– GGirotto
I forgot sorry rsrs. Reply marked
– GGirotto