Simple inventory management system in PHP