Or [about sorting php arrays ?] Sorry, it should be the problem I described. the moderator did not see it clearly. Http://bbs.csdn.net/topics/390595473? Page = 1 # post-395606907 $ arr & nbsp; = or [about sorting php arrays ?]
Sorry, it should be the problem I described. I am also confused when the moderator does not see it.
Http://bbs.csdn.net/topics/390595473? Page = 1 # post-395606907
$ Arr = array ('zhong', 'qiu', 'hangzhou', 'kuai', 'le ')
Actually, I want the effect that the moderator program has come out, but the difference is that the moderator program starts with "medium, the effect I want is that the previous words can also be reduced:
For example, there is such sorting (in red)
Happy Mid-Autumn Festival
Fast Mid-Autumn Festival
Mid-Autumn Festival
Mid-Autumn Festival
Fast Autumn Festival
Autumn Festival
Jiule
Mid-Autumn Festival
Medium
Autumn
Finally, it is better to be an array ~
I just wanted to use the program modified by the moderator of the previous post, but I am not a professional programmer. I just started to study and cannot understand it. I have to help you again. thank you for sharing the following:
------ Solution --------------------
What is the basis for reduction?
Why is happy holidays not here?
After executing the code, remove the first element of the array and execute it again.
Isn't it all "autumn "?