Jump to content

Any way of grabbing new data when table updated???


BillyMako

Recommended Posts

I am putting together an inventory system which keeps count of  the stock level.

I have the inventory database setup for example:

 

 

ProductStock Level

Battery1    25

 

Whenever "Battery 1" is bought, it adds a row to the "orders_products" table.

 

Is there a way where i can have an update button which will check to see if there are any new rows since the last press of the update button which will allow me to deduct 1 off the stock level of "Battery 1" ???

 

I hope I have made sense!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.