D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
ksclnmuac
/
public_html
/
web
/
Filename :
principal.php
back
Copy
<!-- Header Start --> <?php include("headernew.php"); ?> <!-- Header End --> <!-- Inner Banner Wrapper Start --> <div class="inner-banner"> <div class="container"> <div class="col-sm-12"> <h2>Principal's Desk</h2> </div> <div class="col-sm-12 inner-breadcrumb"> <ul> <li><a href="index.html">Home</a></li> <li>Principal's Desk</li> </ul> </div> </div> </div> <!-- Inner Banner Wrapper End --> <section class="inner-wrapper"> <div class="container"> <div class="row"> <div class="inner-wrapper-main about-edu"> <div class="col-sm-8" style="text-align:justify;"> <h2>Principal's Message</h2> <?php include("admin/connection.php"); $sql = "select * from about_us where flag='p'"; $pimg=""; $query=mysqli_query($dbCon,$sql); $result=mysqli_num_rows($query); //print_r($result); if($result>0) { while($row=mysqli_fetch_array($query)){ $pimg=$row['pic']; echo $row['p_msg']; } } ?> </div> <div class="col-sm-4"> <h2>Dr. Shambhu Kumar Yadav</h2> <img src="images/kscollege/<?php echo $pimg; ?>" alt="World-edu"> </div> </div> </div> </div> </div> </div> </section> <?php include 'footernew.php';?>