5) {
sleep(1);
header("Location:" . $WebSite . "login/login_form.php");
exit;
}
include $_SERVER['DOCUMENT_ROOT'] . '/load_header.php';
$title_message = '업무용승용차 운행기록부 작성';
?>
=$title_message?>
0) {
try {
$sql = "SELECT * FROM ". $DB . "." . $tablename . " WHERE num = ?";
$stmh = $pdo->prepare($sql);
$stmh->bindValue(1, $num, PDO::PARAM_INT);
$stmh->execute();
$row = $stmh->fetch(PDO::FETCH_ASSOC);
include '_row.php';
} catch (PDOException $Exception) {
print "오류: ".$Exception->getMessage();
}
$mode = 'modify';
} else {
include '_request.php';
$mode = 'insert';
}
?>