D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
proc
/
self
/
root
/
home
/
markniuj
/
bazmeasar.com
/
pdf
/
Filename :
record_admin.php
back
Copy
<?php include "../config.php"; ?> <?php // Assuming you've retrieved records from your database, loop through them while ($row = $result->fetch_assoc()) { echo "<div class='record'>"; echo "<h3>" . $row["book_name"] . "</h3>"; echo "<p>" . $row["description"] . "</p>"; // Edit link (you can link to an edit page with the record's ID as a parameter) echo "<a href='edit_record.php?id=" . $row["id"] . "'>Edit</a>"; // Delete link (you can link to a delete page with the record's ID as a parameter) echo "<a href='delete_record.php?id=" . $row["id"] . "'>Delete</a>"; echo "</div>"; } ?>