ok

Mini Shell

Direktori : /proc/self/root/proc/thread-self/root/home/ngwcolle/public_html/LIBRARY-NGWC/student/
Upload File :
Current File : //proc/self/root/proc/thread-self/root/home/ngwcolle/public_html/LIBRARY-NGWC/student/autofill.php

<?php
    include('includes/pdoconfig.php');
    if(!empty($_POST["apartmentid"])) {	
    $id=$_POST['apartmentid'];
    $stmt = $DB_con->prepare("SELECT * FROM apartment WHERE apartment_number = :id");
    $stmt->execute(array(':id' => $id));
    ?>
    <?php
        while($row=$stmt->fetch(PDO::FETCH_ASSOC))
        {
    ?>
    <?php echo htmlentities($row['building_number']); ?>
    <?php
    }
}


?>

Zerion Mini Shell 1.0