| 
 Posted by Krustov on 02/25/06 22:10 
This is what I have to remove the line breaks when a user enters one or  
more blank lines in a form entry - so everything is (or should be) on  
the one line . 
 
$skunk=str_replace("\n"," ",$skunk); $skunk=trim($skunk); 
 
The following is what appears in the flatfile afterwards . 
 
line breaks 
  
 why does 
 it 
 do this 
 
While it displays correctly on the webpage when grabbed from the  
flatfile - curious why it does this and how it can be fixed to appear as  
one line of text in the flatfile .
 
  
Navigation:
[Reply to this message] 
 |