That is, put different subnames into the same category
我是一匹来自北方的狼2018-08-29 09:43:14
foreach traverses it and writes it into a new array, or if you find it from Mysql, adding a group by in the sql statement can solve your problem faster and better. It is not easy to code. I hope you can adopt it.