PHPで配列をフィルタリングしようとしています。私の配列を見てください:
Array
(
[0] => Array
(
[date_start_month_name] => January
[approved] => Accepted: yes
)
[1] => Array
(
[date_start_month_name] => March
[approved] => Accepted: yes
)
[2] => Array
(
[date_start_month_name] => March
[approved] => Accepted: yes
)
[3] => Array
(
[date_start_month_name] => April
[approved] => Accepted: yes
)
)
たとえば、月の名前を使用して配列をフィルター処理したい: 3 月、次のようなものを取得します。
Array
(
[0] => Array
(
[date_start_month_name] => March
[approved] => Accepted: yes
)
[1] => Array
(
[date_start_month_name] => March
[approved] => Accepted: yes
)
)
どうやってやるの?助けてくれてありがとう。一番!