質問編集履歴
2
記述ミス
title
CHANGED
File without changes
|
body
CHANGED
@@ -32,7 +32,7 @@
|
|
32
32
|
|
33
33
|
```
|
34
34
|
for($i=0; $i<count($array); $i++){
|
35
|
-
if($
|
35
|
+
if($i==$a){$s="checked";}else{$s="";}
|
36
36
|
echo "<input type='radio' value='{$array[$i]}' name='status' $s>{$array[$i]}";
|
37
37
|
}
|
38
38
|
|
1
タイトル変更
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
phpでforの挙動
|
1
|
+
phpでforとforeachの挙動について
|
body
CHANGED
File without changes
|