PHPを使用して配列に従う順序をランダム化する必要があります。配列シャッフルとarray_randomを使用しようとしましたが、運が悪かったので、誰か助けてください。
Array (
[0] => Array (
[value] => 4
[label] => GasGas
)
[1] => Array (
[value] => 3
[label] => Airoh Helmets
)
[2] => Array (
[value] => 12
[label] => XCiting Trials Wear
)
[3] => Array (
[value] => 11
[label] => Hebo Trials
)
[4] => Array (
[value] => 10
[label] => Jitsie Products
)
[5] => Array (
[value] => 9
[label] => Diadora Boots
)
[6] => Array (
[value] => 8
[label] => S3 Performance
)
[7] => Array (
[value] => 7
[label] => Scorpa
)
[8] => Array (
[value] => 6
[label] => Inspired
)
[9] => Array (
[value] => 5
[label] => Oset
)
)