How to sort multidimensional groups to get maximum value
T.T
T.T 2017-06-28 18:40:21
0
1
549

Please give me some advice

The current variable value is as follows:


array(1){
[
“hostlist”
] =>array(1){
                                                                           " net.if.in[bond1]"
                                                                                                                                                         net.if.            1
                                                                                                                                                                                                                                                                        ]=>
                ]=>string(8)"38263176" [
4
] = & GT; String (8) "39617752" [
5
] = & GT; String (8) "36451976"
}
}


How can I get the current maximum value?

T.T
T.T

reply all(1)
ringa_lee

Hello, your problem can be solved with foreach()

That is, the value is taken every time foreach() (in this case, the key name can be removed)

Hope to adopt it~

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template