<div class="alert alert-warning">
    <p><i class="fa fa-info-circle fa-lg"></i>
        <?php
        if(isset($nameContains) && trim($nameContains) != "") {
            ?>
            <span>Sorry! Searching for <b>"<?php echo $nameContains;?>"</b> did not match any accommodation.</span>
            <?php
        }
        else {
            ?>
            <span>Sorry! The search did not match any accommodation.</span>
            <?php
        }
        ?>
    </p>
</div>