我正在尝试过滤 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
)
)
我想使用月份名称过滤数组,例如:March并得到如下内容:
Array
(
[0] => Array
(
[date_start_month_name] => March
[approved] => Accepted: yes
)
[1] => Array
(
[date_start_month_name] => March
[approved] => Accepted: yes
)
)
我怎样才能做到这一点?提前感谢您的帮助。最好的!