•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Software Developers' Lounge section within the Software Development category of DaniWeb, a massive community of 456,534 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,047 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Software Developers' Lounge advertiser: Programming Forums
Views: 2354 | Replies: 0
![]() |
•
•
Join Date: Oct 2007
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
I wish to create an inventory database with the following:
1. When an item is checkmarked and the submit button is pressed that item is deducted from the mySQL Inventory portion.
By default only 1 is deducted per item, but if they add to the Quantity they wish to order then the amount listed in the "quantity" would be deducted from mySQL.
2. I would love to have a link for the admin to be able to add to the stock.
3. I wish to have this form dynamically show how much there is in stock.
4. I wish to have an ALERT email sent to my email when the stock reaches the minimum default of 2 or less per item and that default can be changed for all items in the form.
Example:
When an item is checkmarked it will be ordered and deducted from stock.
If the item is NOT checkmarked, obviously nothing will be ordered and nothing will be deducted.
------------------------------------------------------------------------------------------------
client Function in the Form Below:______ Admin Function in the Form Below:
------------------------------------------------------------------------------------------------
Chicken-[x] Quantity [1 ] In Stock [5 ] ____ Admin Add to Stock ____ Alert when [ 2] or less.
Milk----[ ] Quantity [1 ] In Stock [15] ____ Admin Add to Stock ____ Alert when [ 2] or less.
Orange--[ ] Quantity [1 ] In Stock [12] ____ Admin Add to Stock ____ Alert when [ 2] or less.
Apple---[x] Quantity [1 ] In Stock [3 ] ____ Admin Add to Stock ____ Alert when [ 2] or less.
_____________________________________________Admin Add Additional Inventory Items to Database
[SUBMIT]
------------------------------------------------------------------------------------------------
Is there a quick way of doing this from the code you already have?
I would really appreciate your help. Thanks a million.
1. When an item is checkmarked and the submit button is pressed that item is deducted from the mySQL Inventory portion.
By default only 1 is deducted per item, but if they add to the Quantity they wish to order then the amount listed in the "quantity" would be deducted from mySQL.
2. I would love to have a link for the admin to be able to add to the stock.
3. I wish to have this form dynamically show how much there is in stock.
4. I wish to have an ALERT email sent to my email when the stock reaches the minimum default of 2 or less per item and that default can be changed for all items in the form.
Example:
When an item is checkmarked it will be ordered and deducted from stock.
If the item is NOT checkmarked, obviously nothing will be ordered and nothing will be deducted.
------------------------------------------------------------------------------------------------
client Function in the Form Below:______ Admin Function in the Form Below:
------------------------------------------------------------------------------------------------
Chicken-[x] Quantity [1 ] In Stock [5 ] ____ Admin Add to Stock ____ Alert when [ 2] or less.
Milk----[ ] Quantity [1 ] In Stock [15] ____ Admin Add to Stock ____ Alert when [ 2] or less.
Orange--[ ] Quantity [1 ] In Stock [12] ____ Admin Add to Stock ____ Alert when [ 2] or less.
Apple---[x] Quantity [1 ] In Stock [3 ] ____ Admin Add to Stock ____ Alert when [ 2] or less.
_____________________________________________Admin Add Additional Inventory Items to Database
[SUBMIT]
------------------------------------------------------------------------------------------------
Is there a quick way of doing this from the code you already have?
I would really appreciate your help. Thanks a million.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Software Developers' Lounge Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
ajax asp auction backup blog browsing business software competition daniweb data protection database design developer development erp systems experiment firefox india internet linux malware mcafee media microsoft mmorpg msdn news normalization office online open-source php project management publishing rss search security server software software selection spyware sql super technology evaluation tips vista web wiki windows
- Apache (Linux Servers and Apache)
- php/mysql configuration? queries do not return anything. (PHP)
- writitng data from php to mysql (PHP)
- Double Dropdown Submit ,PHP ,MYSQL (PHP)
- PHP-MySQL: Registration, Leave Request, Inventory Information, etc... (PHP)
- free php/mysql programming (Web Development Job Offers)
- http form -> php -> mysql snafu (PHP)
- master database with php mysql (Legacy and Other Languages)
- php mysql help (PHP)
- DB-Authentication php/mysql on Mac OSX v3 (PHP)
Other Threads in the Software Developers' Lounge Forum
- Previous Thread: Web Scrapping
- Next Thread: Need a software to recover my files!!


Linear Mode