diff --git a/view_books.php b/view_books.php
new file mode 100644
index 0000000000000000000000000000000000000000..de7f7ad7dd66337b43c9b2f45cb89b380389915d
--- /dev/null
+++ b/view_books.php
@@ -0,0 +1,78 @@
+<?php
+session_start();
+include "database.php";
+
+if(!isset( $_SESSION["AID"]))
+{
+ header("location:alogin.php");
+}
+?>
+
+
+<!DOTYPE HTML>
+<html>
+<head>
+<title>BOOK MANAGEMENT SYSTEM</title>
+<link rel="stylesheet" type ="text/css" href="css/style.css">
+</head>
+<body>
+<div id="container">
+<div id="header">
+<h1>BOOK MANAGEMENT SYSTEM</h1>
+</div>
+<div id="wrapper">
+    <h3 id="heading">View book details</h3>
+<?php
+$sql="Select * from book";
+$res = $mysqli->query($sql);
+if($res->num_rows>0)
+{
+ echo "<table>
+ <tr>
+ <th>SNO</th>
+ <th>Book Name</th>
+ <th>Keywords</th>
+ <th>Location</th>
+ </tr>
+ ";
+ while($row=$res->fetch_assoc())
+ {
+     $i++;
+     echo "<tr>";
+     echo "<td>{$i}</td>";
+     echo "<td>{$row["BTITLE"]}</td>";
+     echo "<td>{$row["KEYWORDS"]}</td>";
+     echo "<td><a href ='{$row["FILE"]}' target='_blank'>View</a></td>";
+     echo "</tr>";
+ }
+ echo "</table>";
+}
+else{
+    echo "<p class='error'> No books found </p>";
+}
+?>
+</div>
+<div id="navi">
+    <?php
+    include "adminsidebar.php"
+    ?>
+</div>
+<div id="footer">
+<p>Copyright &copy; book management 2020</p>
+<div>
+</div>
+</body>
+</html>
+
+
+
+
+
+
+
+
+
+
+
+
+