epic_era Posted January 31, 2007 Share Posted January 31, 2007 I am having some problems with a flat file to witch Im writing but when I view it on an editor of anykind instead of adopting the break line it simply shows a very strange character, I don`t know how to break a line and make it look like that in a text editor, I`m usin the \n to break line Can anyone help me?? Quote Link to comment Share on other sites More sharing options...
fert Posted January 31, 2007 Share Posted January 31, 2007 \n\r Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 31, 2007 Share Posted January 31, 2007 Can you post the code please? Fert, I think you mean \r\n, yeah? Quote Link to comment Share on other sites More sharing options...
fert Posted January 31, 2007 Share Posted January 31, 2007 I always get them mixed up Quote Link to comment Share on other sites More sharing options...
epic_era Posted February 2, 2007 Author Share Posted February 2, 2007 THE CODE THAT I'M USING IS THE FOLLOWING: $Datax="$numemp$tipcarg$y$E$fecha\n"; fwrite($Handle, $Datax); HELP ??? Quote Link to comment Share on other sites More sharing options...
marcus Posted February 2, 2007 Share Posted February 2, 2007 Use \r\n Quote Link to comment Share on other sites More sharing options...
epic_era Posted February 2, 2007 Author Share Posted February 2, 2007 Use \r\n I ALREADY HAVE AND THE RESULT IS THE SAME 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.