prepare($sql); $stmt->bindValue(':id', $id, SQLITE3_INTEGER); $result = $stmt->execute(); $rec_cnt = 0; while ($row = $result->fetchArray()) { $name = $row[1]; $email = $row[3]; $status = $row[4]; $rec_cnt++; } if ($rec_cnt == 0) { echo "不正アクセスです。"; exit; } require_once("inc/header.html"); ?>