質問編集履歴

1

phpファイル修正

2021/10/26 05:01

投稿

bruno7777
bruno7777

スコア3

test CHANGED
File without changes
test CHANGED
@@ -48,15 +48,15 @@
48
48
 
49
49
 
50
50
 
51
- $id = filter_input(INPUT_POST, 'id');
51
+ $id = filter_input(INPUT_POST, 'id');
52
52
 
53
- $pass = filter_input(INPUT_POST, 'password');
53
+ $pass = filter_input(INPUT_POST, 'password');
54
54
 
55
55
 
56
56
 
57
57
  foreach ($memberlist as $name => $val) {
58
58
 
59
- if (($val [ 'id' ] === $id) && ($val [ 'password' ] === $pass)) {
59
+ if (($val ['id'] === $id) && ($val ['password'] === $pass)) {
60
60
 
61
61
  echo $name. "<br/>";
62
62