<?php include'header.php';?>
<style>
    .login-card{max-width:80% !important;}
</style>
<div class="card login-card">

<?php
$name = $_GET['name'];
$obj->sql("SELECT * FROM services Where name='$name'");
$result = $obj->getResult();
foreach ($result as $row) { ?>

    <div class="card-header">
        <?php echo $row['name']; ?>
    </div>

    <div class="card-body p-4"> 
    <h5><?php echo $row['name']; ?> Service</h5>
    <p><?php echo nl2br(htmlspecialchars($row['detail'])); ?></p>
    <hr>
    <a href="tel:+91-9625065008"><i class="bi bi-phone"></i> Call : +91-9625065008</a>
    <hr>
    <a href="https://wa.me/919625065008" target="_blank" style="color:green;"><i class="bi bi-whatsapp"></i> whatsapp : +91-9625065008</a>
 
    </div>
<?php } ?>
</div>
<?php include'footer.php';?>