WebTechKitchen; Your Web Technology Kitchen, contact us to create, or maintain your websites and other digital properties.

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

Submitted by barnettech on Wed, 12/09/2009 - 12:13

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