Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


 
 decrement availability?
Author:  (---.in-addr.btopenworld.com)
Date:   03-04-04 08:20


Hi!

I'm using PHP/MySQL. I'm creating a ecommerce site and i've done the shopping cart and the order system (i.e. checkout process). I have a products table that contains a attribute called 'unitsavailable'. What i want to do is every time a person makes a purchase i want to decrement the value inside the attribute 'unitsavailable' for the specific product sold so that until it reaches 0 the system can recognise that there are no more left. If anyone can help i would apreciate it very much.

 Topics Author  Date
 decrement availability?  new
Niz 03-04-04 08:20 
 Re: decrement availability?  new
bastien 03-04-04 09:36 
 Re: decrement availability?  new
Niz 03-04-04 14:59 
 Re: decrement availability?  new
bastien 03-04-04 16:09 
 Re: decrement availability?  new
mike... 03-05-04 09:28 
 Re: decrement availability?  new
Niz 03-06-04 05:45 
Go to Top  |  Go to Topic  |  Flat View  |  Search 
  |  
New Topic
 Reply To This Message
 Your Name:
 Your Email:
 Subject:
Email replies to this thread, to the address above.
    

Provided By
Phorum