LuciBKen Posted June 22, 2007 Share Posted June 22, 2007 Could someone please tell me how to add a line break in code like this for example: $xml .= "foo=2"; $xml .= "bar"; $xml .= "2U"; I want each line to start on a new line in the output file Quote Link to comment https://forums.phpfreaks.com/topic/56773-code-string-problem/ Share on other sites More sharing options...
chigley Posted June 22, 2007 Share Posted June 22, 2007 $xml .= "foo=2\n"; $xml .= "bar\n"; $xml .= "2U\n"; Quote Link to comment https://forums.phpfreaks.com/topic/56773-code-string-problem/#findComment-280391 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.