⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.37
Server IP:
15.235.14.176
Server:
Linux server2.ihostph.com 4.18.0-553.30.1.el8_10.x86_64 #1 SMP Tue Nov 26 02:30:26 EST 2024 x86_64
Server Software:
Apache
PHP Version:
8.1.34
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
gracious
/
hris.graciousphils.com
/
hradmin
/
View File Name :
get_department.php
<?php include('includes/config.php'); if(!empty($_POST["comp_area_id"])) { $areaid=$_POST["comp_area_id"]; $sql=$dbh->prepare("SELECT * FROM tbldepartments WHERE StCode=:areaid"); $sql->execute(array(':areaid' => $areaid)); ?> <option value="">Select Department</option> <?php while($row =$sql->fetch()) { ?> <option value="<?php echo $row["StCode"]; ?>"><?php echo $row["DepartmentName"]; ?></option> <?php } } ?>