I am sure this has been asked but I just can not find it.
What I want to do is post a page with some code on it with out the code executing.

 <tr>
        <td height="40">
                <label id="phone" for="phone">
                        <?php echo JText::_( 'Phone number' ); ?>:
                </label>
        </td>
        <td>
                <input type="text" id="phone" name="phone" size="40" value="<?php echo $this->user->get( 'phone' );?>" class="inputbox " maxlength="100" />
        </td>
</tr>

for some reason this doe not work ( like it does here.)

Any suggestions?

Comments

crusty_collins’s picture

So, instead of spinning my wheels I found a module, http://drupal.org/project/codefilter
This allows for the tags to work correctly

zeta ζ’s picture

http://drupal.org/project/geshifilter for syntax-highlighting of other languages besides php.
___________________
It’s in the detaιls…