   <?php $sqlTestimonial = mysqli_query($dbconn,"Select * from safe_business_tbl where status='Y'");
$count_r = mysqli_num_rows($sqlTestimonial);
if($count_r>0) { ?> <!-- Home Testimonials -->
        <section class="home_testimonials_webpulse ptb-50">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12 col-md-12 col-sm-12 m-auto wow fadeInLeft animated" data-wow-delay=".4s">
                        <div class="products_heading wow fadeInDown animated animated" data-wow-delay=".1s"
                            style="visibility: visible; animation-delay: 0.1s; animation-name: fadeInDown;">
                            <h4 class="sec-head text-white">Testimonials</h4>
                            <div class="separator separatorss"><span><i></i></span></div>
                        </div>
                        <div class="web-pulse-testimonials">
  <?php
                            while($result = mysqli_fetch_array($sqlTestimonial)) { ?>
                            <div class="item">
                                <div class="testimonials-item">
                                    <p><?php echo html_entity_decode($result['description']);?></p>
                                </div>
                                <div class="testimonial-info">
                                    <span class="testimonial-author"><?php echo $result['title'];?></span><br>
                                    <small><?php echo $result['person_city'];?></small>
                                </div>
                            </div>
<?php } ?>
                     
                        </div>
                    </div>
                </div>
            </div>
        </section>
<?php  } ?>

       <?php $sql_client = mysqli_query($dbconn, "select * from client_tbl limit 11"); 
    if(mysqli_num_rows($sql_client)>0) {
                  ?>        <!-- Home Clients -->
        <div class="webpulse_home_clients ptb-50">
            <div class="container">
                <div class="products_heading wow fadeInDown animated" data-wow-delay=".1s">
                    <div class="sec-head">Our Clients</div>
                    <div class="separator separatorss"><span><i></i></span></div>
                </div>
                <div class="clearfix"></div>
                <div class="trade_partner">
<?php 
    while ($resClient = mysqli_fetch_array($sql_client)) {
                  ?>          
                    <div class="item wow fadeInDown animated" data-wow-delay=".2s">
                        <div class="clients">
                            <div class="image">
                              <img src="<?=site_url();?>/uploaded-files/client-image/<?=$resClient['logo_image']?>" alt="<?=$resClient[name]?>" title="<?=$resClient[name]?>" width="164" height="82">
                            </div>
                        </div>
                    </div>
<?php } ?>
                </div>
            </div>
        </div>
<?php  } ?>