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 substitution.

Ah, the joys of communication. This was probably closer to what it was
he wanted to know than my reply.

In PHP, there's htmlentities() and nl2br() which are useful in various
situation. Or... one could just allow users to type in any html and
see what happens. :-o

//C - doesn't trust users.

-- 
 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