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 Quote Link to comment 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. Quote Link to comment 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.