By tchivoan1972 on
hi i am trying to display php code and html tag in a tuturial, I would like to display it as plain text, how would i do that?
hi i am trying to display php code and html tag in a tuturial, I would like to display it as plain text, how would i do that?
Comments
Use the <code> </code> tag to
Use the <code> </code> tag to post the php code or html code and display in the post
as I have done below
<?php echo $hai;?>testing echo '<li><a
testing
echo '<li><a href=$val>' . ucwords($key) . '</a></li>';how come it works on this forum but when i do it on my site the
<li>gets display as list instead of just html code.this is my site http://phpexercise.com/
driveing me nuts why the code tag doesn't work for html tag
You will need to download and
You will need to download and enable the CodeFilter module:
http://drupal.org/project/codefilter
-= Gerrit Brands
Good module, i'm using the
Good module, i'm using the 7.x version without problems!