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 <pre> tags. Or if you want the regular font, in PHP use the nl2br() function. --Dan PS: For future reference... The mailing list archive is at http://groups.google.com/groups?hl=en&safe=off&group=php.general Putting in the search terms "line break" produces a plethora of results with this same answer. -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php