質問編集履歴

1

コードを一部削除いたしました。($count = $stmt->rowCount();)

2023/02/18 04:00

投稿

otk.yuta
otk.yuta

スコア1

test CHANGED
File without changes
test CHANGED
@@ -31,8 +31,6 @@
31
31
  $stmt->bindValue(':id', $_GET['id'], PDO::PARAM_INT);
32
32
 
33
33
  $stmt->execute();
34
-
35
- $count = $stmt->rowCount();
36
34
 
37
35
  $message = '登録情報を変更しました';
38
36
 
@@ -84,7 +82,6 @@
84
82
  <label>■ 新しいパスワード</label>
85
83
  <input type="password" name="password" pattern="^[a-zA-Z\d]{8,100}$" required>
86
84
  <button type="submit" name="edit">更新</button>
87
- <?php echo $count; ?>
88
85
  </form>
89
86
  </div>
90
87
  </div>