If you just kept the balance, add only the database entry, but if you want to save all transactions, you should get a new table with the username as the referrer of the class, all transactions will automatically notice that if you are not a great programmer it would be difficult to do The type of website you want, so please consider buying a finished one.
source
share