habib009pk Posted August 8, 2009 Share Posted August 8, 2009 Dear Friends I am facing a little problem, i am creating a file in which data came from a form through different textareas. now data can be downloaded in our local machine. Now the problem is that when i cancatenate all posted values. with '\n' or '\r' then no line break included in my txt file.. it is working on my local system with that variable $space=" "; but when i upload it on the live server than it will never work Please help me regarding that when i write data in a txt file through fopen then line breaks also included in my text file on live server Thanks And Regards Quote Link to comment https://forums.phpfreaks.com/topic/169338-line-break-problem-in-txt-file/ Share on other sites More sharing options...
wildteen88 Posted August 8, 2009 Share Posted August 8, 2009 Post the code you're using and the post the contents of your text file here. Quote Link to comment https://forums.phpfreaks.com/topic/169338-line-break-problem-in-txt-file/#findComment-893567 Share on other sites More sharing options...
habib009pk Posted August 8, 2009 Author Share Posted August 8, 2009 Thanks Dear, I am struggling from my side and at last i find the result that in txt file we got the line break through the combination of "\r\n". Thanks for your Cooperation. Regards Quote Link to comment https://forums.phpfreaks.com/topic/169338-line-break-problem-in-txt-file/#findComment-893587 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.