Advertisement

08.27.2008 at 12:46PM PDT, ID: 23683327 | Points: 500
[x]
Attachment Details

Creating an inventory tracking system that logs each users entry with PHP MySQL?

Asked by parlays in PHP Scripting Language, Apache Web Server, MySQL Server

Tags:

Hello everybody,

I am creating an ecommerce site that I want to have a simple inventory system.  There is only one product and I want there to be an admin page that someone can go in type in added inventory shipments.  For example type 200 t-shirts.

Then whenever an order is placed the amount of t-shirts ordered gets deducted.

The part that I need help with is that I want the back-end inventory update system to show the last 20 inventory changes.  I want them all logged in order.  Is the best way to do this to create a new database record every time the inventory is update.  So if the back-end user enters 200 t-shirts, should I make a dateabase entry and everytime an order is placed, I'll place a record that deletes one order.

And then I would like to take it to the next step by grouping daily sales inventory deductions.  What I mean, is that if there 20 orders that day and each one had 3 shirts in it.  I want the log to show daily orders deduction 60 shirts.

Hope I explained all this clearly, any advice on how to go about this is much appreciated.Start Free Trial
 
Loading Advertisement...
 
[+][-]08.27.2008 at 03:16PM PDT, ID: 22329848

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.03.2008 at 11:13PM PDT, ID: 22384601

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.04.2008 at 12:11AM PDT, ID: 22384811

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.04.2008 at 09:48AM PDT, ID: 22389718

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.04.2008 at 10:25AM PDT, ID: 22390126

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628