I have a mysql database that has the column balance. This table is used for storing data about a user's account balance, so how to add numbers in mysql statement?
here is what I have so far
$sql_data = "UPDATE `database1`.`users` SET (`balance`) = '(what to put here?)'
WHERE ('" . $mysqlid . "') ";
so do I have to a) retrieve the current balance with a mysql select query? and b) what do I use to add the integer 5 to the column balance, the mysql row is double(16,2)