jeudi 28 mai 2020

php if condition not working in laravel controller

Help post php if condition not working in laravel controller

<div class="price-box float-left">
                                <?php if('.$home_base_price.' != '.$home_discounted_base_price.'): ?>
                                        <del class="old-product-price strong-400">
                                                '.$home_base_price.'
                                        </del>
                                <?php endif ?>
                                        <span class="product-price strong-600"> 
                                         '.$home_discounted_base_price.'
                                        </span>
                                    </div>


from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3gGkFG2
via IFTTT

Aucun commentaire:

Enregistrer un commentaire