research the php function htmlspecialchars().

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

JJ Harrison

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
> I have seen on some of the script-sites around some nice ways of
> 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
> around all the <>)

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to