55ok
| Direktori : /home/u307599615/domains/makeoverbyaaliyabarber.com/public_html/admin/ |
| Current File : /home/u307599615/domains/makeoverbyaaliyabarber.com/public_html/admin/services.php |
<?php
include('connection.inc.php');
include('sidebar.inc.php');
include('header.inc.php');
$sql = "SELECT * FROM service";
$quary = mysqli_query($con, $sql) or die("Error");
?>
<table class="table">
<!-- <a href="./add_about.php"><button class="btn btn-primary" name="">Add-About</button></a> -->
<thead>
<tr>
<th scope="col">Id</th>
<th scope="col">About</th>
</tr>
</thead>
<tbody>
<?php
$Serial = 0;
if (mysqli_num_rows($quary) > 0) {
while ($row = mysqli_fetch_assoc($quary)) {
$Serial += 1;
?>
<tr>
<td><?php echo $Serial; ?></td>
<td><?php echo $row['about'];?></td>
<td><a href="./edit_about_us.php?id=<?php echo $row['id']; ?>" class="text-decoration-none text-dark">Edit</a></td>
</tr>
<?php
}
}
?>
</tbody>
</table>
<?php
include('footer.inc.php');
?>