Pentiums Posted June 7, 2009 Report Share Posted June 7, 2009 Kā realizēt šo? No: Line1 Line2 Line3 Line4 Line5 Uz: Line1\r\nLine2\r\nLine3\r\nLine4\r\nLine5 Quote Link to comment Share on other sites More sharing options...
bubu Posted June 7, 2009 Report Share Posted June 7, 2009 Tu gribi newlainus aizvietot ar stringu \n? Visparastākais str_replace: $s = str_replace("\n", "\\n", $s); 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.