Note section details display section in php ;
<?php
include 'conn.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Notes Collection</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<body>
<!-- team section -->
<section id="team" class="py-5 bg-dark mt-3">
<div class="container">
<!-- title -->
<div class="row">
<div class="col text-center ">
<h1 class="display-4 text-uppercase mb-0 ">
<strong class="bg-light">My Notes Collection</strong>
</h1>
<div class="title-underline bg-warning"></div>
<p class="mt-2 text-capitalize text-muted">Notes Area</p>
</div>
</div>
<!-- end of title -->
<div class="row">
<!-- team member -->
<?php
$sel = "SELECT * FROM usersfiles ";
$rs = $conn->query($sel);
while($rws = $rs->fetch_assoc()){
?>
<div class="col-md-6 col-lg-4 my-3">
<div class="card">
<div class="card-body">
<h5 class="card-title text-capitalize "><?php echo $rws['title'];?></h5>
<p class="card-text"><?php echo $rws['description'];?></p>
<a href="uploads/<?php echo $rws['file'];?>" class="btn btn-outline-warning text-uppercase "target="_blank">View/Download</a>
</div>
</div>
</div>
<!-- end of member -->
<?php
}
?>
</div>
</div>
</section>
<!-- end of team section -->
>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
0 Comments