this is arafat
| From: | arafat uddin | Date: | Thu, 16 Aug 2007 10:34:17 +0000 |
| Subject: | this is arafat | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-43915@lists.php.net to get a copy of this message | ||
sir,
my problem is that,
in my project i have a page call stock.where every day stock will be
change .
cause product enter in the stock and product out form the stock
so,stack will be change when product will enter and out.
thats why i hav to use UPDATE statement .
plz write to me what kind of UPDATE statemnt i have to write.
For Example: Balance 100 (caton)
product enter 50 (caton)=stock(100+50)=150 (caton)
product out 50 (caton)=stock(150-50)=100 (caton);