| Posted by MS on 04/07/07 15:42 
Im sure this must be quite easy to accomplish but I can not find thefunction/way to do it.
 
 MySQL Database field is saved as....
 
 "this is the text
 
 and has line breaks
 
 like this"
 
 Now I want to concat each line into a variable like this.
 
 "this is the text and has line breaks like this"
 
 I have tried trim() which supposedly takes out whitespace but its not
 working as I expect.
 
 What do I have to do?
 
 Thanks
 [Back to original message] |