I'm starting in PHP and I have the following situation. I have a value, rescued from a bank, and six buttons with the following values: +100, +200, +300, +400, +500 e +600
. How do I, when I click on one of these buttons, to add the value chosen by the buttons with the value rescued in bank?
Example: I click the +500
button and the value rescued in the base is 1.000
. The system adds and saves the total.