hjkhghopjkertteerterterterertertrtoirh
bnmbertsurhetertertertertertertertpdf'tdfg
/
home
/
u313348419
/
public_html
/
Upload FileeE
HOME
<?php include "includes/db.php"; ?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content=""> <meta name="author" content="#"> <title>Para Medical Council | Study Centre</title> <link rel="shortcut icon" href="assets/images/favicon.png"> <!-- Mobile Specific Meta--> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- bootstrap.min css --> <link rel="stylesheet" href="assets/vendors/bootstrap/bootstrap.css"> <!-- Iconfont Css --> <link rel="stylesheet" href="assets/vendors/fontawesome/css/all.css"> <link rel="stylesheet" href="assets/vendors/bicon/css/bicon.min.css"> <link rel="stylesheet" href="assets/vendors/themify/themify-icons.css"> <!-- animate.css --> <link rel="stylesheet" href="assets/vendors/animate-css/animate.css"> <!-- WooCOmmerce CSS --> <link rel="stylesheet" href="assets/vendors/woocommerce/woocommerce-layouts.css"> <link rel="stylesheet" href="assets/vendors/woocommerce/woocommerce-small-screen.css"> <link rel="stylesheet" href="assets/vendors/woocommerce/woocommerce.css"> <!-- Owl Carousel CSS --> <link rel="stylesheet" href="assets/vendors/owl/assets/owl.carousel.min.css"> <link rel="stylesheet" href="assets/vendors/owl/assets/owl.theme.default.min.css"> <!-- Main Stylesheet --> <link rel="stylesheet" href="assets/css/style.css"> <link rel="stylesheet" href="assets/css/responsive.css"> </head> <body id="top-header"> <?php include"includes/header.php" ; ?> <section class="page-header"> <div class="container"> <div class="row justify-content-center"> <div class="col-lg-8"> <div class="page-header-content"> <h1>Study Centre</h1> <ul class="list-inline mb-0"> <li class="list-inline-item"> <a href="index.html">Home</a> </li> <li class="list-inline-item">/</li> <li class="list-inline-item"> Study Centre </li> </ul> </div> </div> </div> </div> </section> <section class="section-padding"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="single-service"> <h4 class="line-bottom text-theme-colored">Centre</h4> <table class="table table-bordered"> <tr> <th>Centre Name</th> <th>Centre Code</th> <th>Address</th> <th>Contact No</th> <th>State</th> </tr> <tbody> <?php if(isset($_POST['submit'])){ $name = $_POST['name']; $state = $_POST['state']; $code = $_POST['code']; $query = "SELECT * FROM centres WHERE name = '$name' AND code = '$code' AND state = '$state'"; $search_query = mysqli_query($connection, $query); if(!$search_query) { die("QUERY FAILED" . mysqli_error($connection)); } $count = mysqli_num_rows($search_query); if($count == 0) { echo "<tr> <td>Not Found</td> <td>-</td> <td>-</td> <td>-</td> <td>-</td> <td>-</td> </tr>"; } else{ while($row = mysqli_fetch_assoc($search_query)) { $name = $row['name']; $code = $row['code']; $address = $row['address']; $contact = $row['contact']; $state = $row['state']; ?> <tr> <td><?php echo $name; ?></td> <td><?php echo $code; ?></td> <td><?php echo $address; ?></td> <td><?php echo $contact; ?></td> <td><?php echo $state; ?></td> </tr> <?php } } } ?> </tbody> </table> </div> </div> </div></div> </section> <br><br> <?php include"includes/footer.php" ; ?> </body> </html>