回答編集履歴

1

コード修正

2016/05/13 00:23

投稿

ttyp03
ttyp03

スコア16998

test CHANGED
@@ -4,13 +4,13 @@
4
4
 
5
5
  ```PHP
6
6
 
7
- if( isset($todofuken[$_POST['addr11'])] ){
7
+ if( isset($todofuken[$_POST['addr11']]) ){
8
8
 
9
- $souryou = $todofuken[$_POST['addr11'])];
9
+ $souryou = $todofuken[$_POST['addr11']];
10
10
 
11
- } else if( isset($todofuken[isset($_POST['addr1'])] ){
11
+ } else if( isset($todofuken[$_POST['addr1']]) ){
12
12
 
13
- $souryou = $todofuken[$_POST['addr1'])];
13
+ $souryou = $todofuken[$_POST['addr1']];
14
14
 
15
15
  } else {
16
16