Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

mysql php update sum same table

$query = "UPDATE produtos SET quantity = quantity + $prodQuantity where id = $prodId";
 
PREVIOUS NEXT
Tagged: #mysql #php #update #sum #table
ADD COMMENT
Topic
Name
2+7 =