Who does php ask for help to write an enumeration logic?

php I want to write all the data to the data through the enumeration method. Although other ways can meet my needs, I still want the logical writing method of the enumeration method. Thank you.

first of all, set to five groups of data, the total data value is 100, the minimum value of each group of data is 10, the data change base is 1, that is, the highest value is 60, the lowest value is 10, and the variable value is 50. Now I want to write all the possibilities to the database and save them through enumeration. Of course, if there is a more efficient way, thank you. )

Php
Mar.14,2021
Menu