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'; // 현재 날짜를 'Y-m-d' 형식으로 기록 } ?>
      ~  
      
# 교환일 주행거리 비용 행 추가/삭제
# 정비일자 정비내역 기록 비용 행 추가/삭제