【发布时间】:2013-08-10 01:13:21
【问题描述】:
谁能告诉我这段代码有什么问题:
foreach ($data as $region ):
foreach ($region as $type):
foreach ($type as $type2):
foreach ($type2 as $key=>$val):
if ($val=='background-color: FFFFFF;' || $val=='') unset($type2[$key]);
endforeach;
endforeach;
endforeach;
endforeach;
print_r($data) 之后似乎数据数组是一样的,unset 不起作用
【问题讨论】:
标签: php