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>


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire