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, as is any other data
that a computer handles. A TEXT field holds such a sequence and does
absolutely no conversion of it. You're not giving a lot of information
on what you're trying to do and what goes wrong, but most likely what
you get out is exactly what you put in. Could it be that you've done
some unwanted pre- or postprocessing of your data, such as escaping
some HTML entities?

//C - vague

-- 
 Carl Troein - Círdan / Istari-PixelMagic - UIN 16353280
 [EMAIL PROTECTED] | http://pixelmagic.dyndns.org/~cirdan/
 Amiga user since '89, and damned proud of it too.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to