Traq Project Forums

Full Version: HTML and Template Hooks
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If you're creating a hook for a template and want to use HTML without wrapping an echo() around it, here's how you do it.

Simply start with a PHP close tag, add your HTML, and use the PHP open tag at the end, here's an example:
PHP Code:
?>
<div>
    Here is my HTML for <?php echo $project['name']; ?>.
</div>
<?php 
Reference URL's