I am trying to get some data entered in a form into a file. But I
want to remove the lf-cr appearing in between  lines and have only one
carriage return  at the end. This is because , I am using carriage
return as
the field separator in my text file and I want each field to be limited
to one line even if  it is entered in multiple lines in the form. I have
tried to use "str_replace" and replace "\n" by "". But it does'nt give
me the desired result of limiting text to single line . I need help on


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

Reply via email to