Theory

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Parody
Forum Contributor
Posts: 252
Joined: Fri May 06, 2005 7:06 pm
Location: Great Britain

Theory

Post by Parody »

This is a theory question mostly :)

I would like to create a database of items. This is what I was thinking of doing:

I would have a page when the quantity is updated then another where a table is displayed of all the items they own. I do not want the item to display if the quantity is zero. The user must also be able to 'sell' this item, the amount is then added to another database (already created). The user should also be able to 'select this item'. Meaning that the item is inserted into a database (already created).

Can anyone explain how I should do this?
Post Reply