You are here

put a block of html or php code in an if clause in PHP

Wiki Terms: 

<?php if ($footer_message): ?>
            <?php print $footer_message; ?>
            hello, html can go here too
            very nice :) 
        <?php endif; ?>

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer