Product management in PHP