PHP Script To Run in background of application (MYSQL) -
I currently have a stock control system, all of which are working fine. (In PHP and MYSQL)
What I have done is set the "minimum_on_hand" column on the database, which will tell the minimum amount of that particular stock item, before more orders are required . / P>
As soon as one item reaches at least (which is made) can work with the company, I want to throw a warning to it, and then repeat through the database, thereby Sometimes the stock items will decrease And then, to compile those orders, give the user a minimum of a list I have only one current idea Every time a new page loads a script Call, but it will cause a huge hit on the database. Can anyone provide solutions?
if (time () - $ last
Comments
Post a Comment