Hi!
I have a product table and want to update the qty.
$insert = "UPDATE products SET soldqty='$sqty' WHERE
articelno='$articleno'";
$result = @mysql_query ($insert);
I want the code to automatically add $sqty to soldqty and not overwrite it
like I do above.

Do I need to first make a separate query on soldqty or is there an easyer
way?

Thanks in advance.
--
Regards,
Jan Grafström

Härnösand
Sweden


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to