in reply to converting carriage returns to <br> tags (was: Simple Question for you guys)
you just need to do a global search and replace on the field with a regular expression that swaps the newline with the tag:
$fieldtext =~ s|\n|<br />|g # self terminating tag for XHTML complian +ce
note i've changed the regex delimiter to a pipe ( | ) so i don't have to escape the '/' character in the br tag.
|
|---|