Hello,
while nl2br does in fact generate <br /> tags as expected, the original newline control character in a textarea field does not get removed, which is problematic since I'm trying to get that textarea value into a json string.
Any advice?
while nl2br does in fact generate <br /> tags as expected, the original newline control character in a textarea field does not get removed, which is problematic since I'm trying to get that textarea value into a json string.
Any advice?