> Before you display the HTML code in the field, just replace all < and >
> with their respective HTML entities. Your sig says you know PHP so here's
> a quick example:
>
> $htmlString = str_replace(array("<", ">"), array("<", ">"),
> $htmlString);
>
Well, it works, but I wanted something that in some part of the article
could have been disabled html interpretation, whele in other parts not.
For example, in the same article I put an img tag like this
<img src="/articles/art4/image_name1.png">
to diplay an image in the article.
Francesco
--
Teaching OnLine
Corsi online di programmazione
Php, Asp, C, C++, Visual Basic, Delphi
VBA per Access, Excel
Linux Shell Programming
------------------------------------
http://www.teachingonline.it