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 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"; Link to comment https://forums.phpfreaks.com/topic/56773-code-string-problem/#findComment-280391 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.