research the php function htmlspecialchars().

I replaces < with &lt;  and > with &gt; etc.


--
JJ Harrison
[EMAIL PROTECTED]
www.tececo.com

I often get confused with &lt; and &gt; so they may be in the wrong order
but I am sure you get the idea.

"ØYstein HåLand" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have seen on some of the script-sites around some nice ways of
presenting
> the source code. Often in nice colors. So, the natural question is: how is
> that done (cause I don't think anyone has the patience to put &lt; and
&gt;
> around all the <>)
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to