It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

how to disable html formating in text labels?

how to disable html formating in text labels?

Postby georgila on Sat May 23, 2009 2:57 pm

hello !
I have a text fields and i want to display there a record of my database.

the problem is that my sql record is not plain text,but has html formating.

So when i display the data to the text field, it changes the appearance of my web page!!
i have to find a way to display that html text as plain text and not as html code!
can anybody help me please?

thanks!!
georgila
 
Posts: 1
Joined: Sat May 23, 2009 2:55 pm

Re: how to disable html formating in text labels?

Postby flabbyrabbit on Sat May 23, 2009 10:33 pm

If you enclose it with <xmp></xmp I think it will display as plain text.

Flabby Rabbit
Image
User avatar
flabbyrabbit
500+ Club
 
Posts: 706
Joined: Thu Jan 25, 2007 1:10 pm
Location: Midlands, England


Who is online

Users browsing this forum: No registered users and 4 guests