Answer the question
In order to leave comments, you need to log in
How to get the name of the weapon with the most shots in PHP if the weapons are represented as a multidimensional array?
There is such an array with weapons:
Array
(
[pistol] => Array
(
[name] => Пистолет
[shots] => 12
)
[shotgun] => Array
(
[name] => Дробовик
[shots] => 8
)
[rifle] => Array
(
[name] => Автомат
[shots] => 34
)
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question