price management based on php