prepare($sql); $stmh->bindValue(1, $num, PDO::PARAM_INT); $stmh->execute(); $row = $stmh->fetch(PDO::FETCH_ASSOC); include '_row.php'; } catch (PDOException $Exception) { echo "오류: ".$Exception->getMessage(); exit; } } else { include '_request.php'; $mode = 'insert'; $reg_date = date('Y-m-d'); $author = $user_name; $workplacename = ''; $num = ''; } $title_message = ($mode === 'update') ? 'LOT 번호 수정' : 'LOT 번호 신규 등록'; ?>
| 등록일 | 작성자 |
|
|
| LOT 번호 | |||
| 현장명 | |||
| 비고 | |||