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'; } ?>
사용일자 차량번호
부서 직책
사용자 사용목적
운행내역
출발지 도착지
주행거리 (km) 도착누적거리 (km)
비고