On Fri, Aug 09, 2002 at 10:55:52PM +0200, Kristoffer Strom wrote:
>
> How do I convert the result to HTML code, I especially want the linebreaks!!
Two options. Put the output in between tags. Or if you want the
regular font, in PHP use the nl2br() function.
--Dan
PS: For future reference.
Ok, this is totally newbie but I just started messing around with PHP after
programming IBM's NetData for a while.
My first big problem I haven't been able to solve myself is how to format
the result of an SQL query into HTML code.
In the (MySQL) database, I have one field for very long texts. On
2 matches
Mail list logo