| | |
Grabbing newly enetered data from table once updated
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jan 2008
Posts: 16
Reputation:
Solved Threads: 0
I am putting together an inventory system which keeps count of the stock level.
I have the inventory database setup for example:
Product Stock_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!
I have the inventory database setup for example:
Product Stock_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!
![]() |
Other Threads in the PHP Forum
- Previous Thread: text editor using javascript
- Next Thread: Is That Possible in PHP
| Thread Tools | Search this Thread |
.htaccess ajax apache api array back basic beginner binary broken cakephp checkbox class cms code computing cron curl customizableitems database date delete display dynamic echo email error file files filter folder form forms function functions gc_maxlifetime google host href htaccess html image include insert integration ip java javascript joomla limit link login loop mail memmory memory menu mlm mod_rewrite multiple mysql navigation oop parsing paypal pdf php problem query radio random recursion regex remote script search server sessions sms snippet soap source space sql syntax system table thesishelp trouble tutorial update upload url validation validator variable video web xml youtube






