I've set up a database with a text feild and want to call that
information with html code embeded into the text( eg. br). Do I need
to change the type of field ?. At the moment the html code is being
returned as plain text.
No, you don't have to change the type of field. If you want more HTML
embedded, you could save those HTMLs together w/ the text in your
database, or... if you just want the br / tags, then, assuming your
text has a new line character (\n), you have to do some sort of substitution.
Forexample, in
Webmaster writes:
I've set up a database with a text feild and want to call that
information with html code embeded into the text( eg. br). Do I need
to change the type of field ?. At the moment the html code is being
returned as plain text.
An HTML document is just a sequence of bytes,
sherzodR writes:
No, you don't have to change the type of field. If you want more HTML
embedded, you could save those HTMLs together w/ the text in your
database, or... if you just want the br / tags, then, assuming your
text has a new line character (\n), you have to do some sort of
Sorry should of given more infromation. I'm using Roxen 2.1 as my web
server and am using the roxen emit tag to call the information.
-Original Message-
From: Carl Troein [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Fri, 30 Nov 2001 10:22:34 GMT
Subject: Re: html ina text feild