採用情報
connect_error) { die("Connection failed: " . $conn->connect_error); } // データの取得 $sql = "SELECT Sequence, Shokushu, Kinmuti, Naiyo FROM Recruitment"; $result = $conn->query($sql); if (!$result) { die("Query failed: " . $conn->error); } // データの表示 if ($result->num_rows > 0) { echo '| 職種 | 勤務地 | 内容 | 応募 |
|---|---|---|---|
| ' . $shokushu . ' | '; echo '' . htmlspecialchars($row["Kinmuti"]) . ' | '; // nl2brを使って改行を反映 echo '' . nl2br(htmlspecialchars($row["Naiyo"])) . ' | '; echo ''; echo ''; echo ' | '; echo '
