回答編集履歴

1

foreach に修正

2017/04/05 00:41

投稿

tacsheaven
tacsheaven

スコア13703

test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  $keys = array_keys($data);
6
6
 
7
- for($key as $keys) {
7
+ foreach($key as $keys) {
8
8
 
9
9
  if ($key != 'test1' && $key != 'test2') {
10
10