%PDF-1.5 % ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY
| Server IP : 122.155.177.87 / Your IP : 122.155.177.87 Web Server : Apache/2 System : Linux cat177-87.static.lnwhostname.com 3.10.0-1160.62.1.el7.x86_64 #1 SMP Tue Apr 5 16:57:59 UTC 2022 x86_64 User : apache ( 994) PHP Version : 5.3.29 Disable Function : dl,eval,exec,mail,passthru,popen,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_open,putenv,shell_exec,show_source,system MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/moungngam/domains/moungngam.go.th/public_html/request-system/ |
Upload File : |
<?php
require 'config/db.php';
$data = null;
if(isset($_POST['search'])){
$request_no = $_POST['request_no'];
$stmt = $conn->prepare("
SELECT * FROM request_information
WHERE request_no = ?
");
$data = $stmt->fetch(PDO::FETCH_ASSOC);
}
?>
<!DOCTYPE html>
<html lang="th">
<head>
<meta charset="UTF-8">
<title>ตรวจสอบสถานะ</title>
<link rel="stylesheet" href="assets/style.css">
</head>
<body>
<div class="container">
<h1>ตรวจสอบสถานะคำร้อง</h1>
<form method="post">
<input type="text"
name="request_no"
placeholder="กรอกเลขคำร้อง"
required>
<button type="submit" name="search">
ตรวจสอบ
</button>
</form>
<?php if($data){ ?>
<div class="status-box">
<p><b>เลขคำร้อง :</b> <?php echo $data['request_no']; ?></p>
<p><b>ชื่อ :</b> <?php echo $data['fullname']; ?></p>
<p><b>เรื่อง :</b> <?php echo $data['request_subject']; ?></p>
<p><b>สถานะ :</b> <?php echo $data['status']; ?></p>
</div>
<?php } ?>
</div>
</body>
</html>