Hey... I have a question about trim. I don't know if
trim() is the right funtion to use, but here is my

I am recieving a textarea input from a form and
writing it to a data file. I need to change any line
breaks or (enter) if you will into a <br> or something
else. When it's in my text file, it screws it up.
Please, someone give me an idea of how to oversome
this. I can't seem to make trim() work at all. It does
remove a \n if you type that in, but won't actually
remove an (enter). Thanx for your help in advance.


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to