stuckwithcode Posted April 21, 2010 Share Posted April 21, 2010 Hello, I understand the code below apart from the \n after the <br />. The br is the line break so what is the \n also doing there. Could someone please explain. wordwrap($text,75,"<br />\n",TRUE); Thanks Link to comment https://forums.phpfreaks.com/topic/199291-what-is-word-wrap-question/ Share on other sites More sharing options...
taquitosensei Posted April 21, 2010 Share Posted April 21, 2010 It's a line break for a text file. "\r\n" would cover unix and windows. Link to comment https://forums.phpfreaks.com/topic/199291-what-is-word-wrap-question/#findComment-1046004 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.