I have a couple of text areas set up to add line breaks with this:
$rec{'comments'} =~ s/\n/<BR>/g;
This works great, except for when you modify the record, then it adds another set of line breaks to the ones that already exist. Is there a way to prevent it from adding that other set?
Thanks in advance!
DBMan SQL Version 1 mods available at:
http://dbmansqlmods.rainbowroomies.com
(Mods based on JPDeni's original mods.)
$rec{'comments'} =~ s/\n/<BR>/g;
This works great, except for when you modify the record, then it adds another set of line breaks to the ones that already exist. Is there a way to prevent it from adding that other set?
Thanks in advance!
DBMan SQL Version 1 mods available at:
http://dbmansqlmods.rainbowroomies.com
(Mods based on JPDeni's original mods.)