A
Anonymous
Guest
I don't know what you exactly want to do, but perhaps you could use this:
this will simply change a complete string.
as far as I know "\r\n" works normally in an textarea, so you won't have to replace those when creating a form.
You will only need to replace them when you're placing the code outside input fields in you're html-page. But than I allways manage with str_replace.
Hope this helps
Greetz Daan
Code:
str_replace('\r\n','<br>',$subject_value);
as far as I know "\r\n" works normally in an textarea, so you won't have to replace those when creating a form.
You will only need to replace them when you're placing the code outside input fields in you're html-page. But than I allways manage with str_replace.
Hope this helps
Greetz Daan