Tag - pos and inventory system in php