Greeting all,
I have a text box on a form. When I process the content when submitted, I need to replace new-lines and carrage-returns to <BR> tags and two "returns" to a <P> tag.
I remember someone telling me of a php function that will do this for me. Do any of you know if there is a function or am I totally off base?
I know how to use preg_replace to do this, but I'm just curious if there is a function I can feed my content through?
Thanks for any help.
jdc44