I have a mysql database with column balance. This table is used to store information about the balance of the user account, so how to add numbers to the mysql statement?
that's what i still have
$sql_data = "UPDATE `database1`.`users` SET (`balance`) = '(what to put here?)' WHERE ('" . $mysqlid . "') ";
so what should I: a) get the current balance using the mysql select query? and b) what I use to add the integer 5 to the column balance, the mysql row is double (16.2)
source share