For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > July 2004 > Problem with html tags









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problem with html tags
steve

2004-07-22, 8:55 pm

I need html tags in my forum pages to show up, but not to be active.
I have tried to change the tags to html equivalent code using php, but
still they are active.

How do I go about chaning them to non-active?

--
http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbForumz.com/PHP-Problem...pict132450.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=442114
Geoff May

2004-07-22, 8:55 pm

steve wrote:

> I need html tags in my forum pages to show up, but not to be active.
> I have tried to change the tags to html equivalent code using php, but
> still they are active.
>
> How do I go about chaning them to non-active?


Replace the < with &lt; and > with &gt;

MfG

Geoff.

--
Unofficial F1 Database: http://glibs.ssmmdd.co.uk/
Update: 11th July, 2004
USENET Email address is a spam trap, send Emails to address in the DB
C.Schneck

2004-07-23, 3:55 am

htmlspecialchars()

"steve" <UseLinkToEmail@dbForumz.com> wrote in message
news:10g0icttkkepl9e@news.supernews.com...
> I need html tags in my forum pages to show up, but not to be active.
> I have tried to change the tags to html equivalent code using php, but
> still they are active.
>
> How do I go about chaning them to non-active?
>
> --
> http://www.dbForumz.com/ This article was posted by author's request
> Articles individually checked for conformance to usenet standards
> Topic URL:

http://www.dbForumz.com/PHP-Problem...pict132450.html
> Visit Topic URL to contact author (reg. req'd). Report abuse:

http://www.dbForumz.com/eform.php?p=442114


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com