I am creating an inventory system for myself that contains a list of items (with a description, a counter, the last date used, etc.), which also contains the status for the item. At the most basic level, I list all the elements from the MySQL query (SELECT * FROM Items) along with my status in the SELECT HTML FORM element (int datatype, 0/1/2 status indicator).
I want to be able to update any item in this list without analyzing every item that has been specified, and do a comparison with the contents of the SQL server. I would suggest that this is not the best practice, and the best way to achieve this is to make a list of items that are changing and sent via HTTP POST. It's right? What would be the best way to achieve this?
Frank source
share