| Server IP : 127.0.0.1 / Your IP : 216.73.216.48 Web Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 System : Windows NT DESKTOP-3H4FHQJ 10.0 build 19045 (Windows 10) AMD64 User : win 10 ( 0) PHP Version : 8.2.12 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/khalafsite-backup/old/htdocs/khalafsons.com/ |
Upload File : |
<?php include('db_con.php'); ?>
<?php
function option_building_location()
{
include('db_con.php');
$get_bd_name ="select * from bd_locationtb";
$run_bd_name = mysqli_query($con,$get_bd_name);
while($row_bd_name = mysqli_fetch_array($run_bd_name))
{
$building_location = $row_bd_name['location_name'];
echo"<option>$building_location</option>";
}
}
?>
<?php
function option_building_name()
{
include('db_con.php');
$get_bd_name ="select * from main_buildingtb";
$run_get_bd_name = mysqli_query($con,$get_bd_name);
while($row_get_bd_name = mysqli_fetch_array($run_get_bd_name))
{
$building_name = $row_get_bd_name['building_name'];
echo"<option>$building_name</option>";
}
}
?>