teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

タグ修正

2021/07/21 06:53

投稿

ananans
ananans

スコア2

title CHANGED
File without changes
body CHANGED
File without changes

1

誤字脱字修正

2021/07/21 06:53

投稿

ananans
ananans

スコア2

title CHANGED
File without changes
body CHANGED
@@ -32,7 +32,7 @@
32
32
  $count = $_COOKIE['visit_count'] + 1;
33
33
  $visit_history = $_COOKIE['visit_history'];
34
34
  setcookie('visit_count', $count);
35
- setcookie('visit_history', $now_date); //←追加
35
+ setcookie('visit_history', $now_date);
36
36
  print("合計" . $count . "回目のアクセスです<br>");
37
37
  print($now_date."(現在日時)<br>");
38
38
  print($visit_history."(前回のアクセス日時)<br>");