Redneckheaven Posted November 24, 2009 Share Posted November 24, 2009 I have a text file that stores info submitted. In the text file everything shows up fine Name on 1 line Phone Number on another, now is there a way to have it have a line break between each entry like: Name; Phone; Address; Name; Phone; Address; Quote Link to comment https://forums.phpfreaks.com/topic/182826-line-break/ Share on other sites More sharing options...
mikesta707 Posted November 24, 2009 Share Posted November 24, 2009 add a newline after every semicolon? Quote Link to comment https://forums.phpfreaks.com/topic/182826-line-break/#findComment-964957 Share on other sites More sharing options...
codepoet Posted November 24, 2009 Share Posted November 24, 2009 Name;\n Phone;\n Address; \n\n Name;\n Phone;\n Address; Just have two "\n"s vs 1 or two "<br />"s. Quote Link to comment https://forums.phpfreaks.com/topic/182826-line-break/#findComment-964967 Share on other sites More sharing options...
Redneckheaven Posted November 24, 2009 Author Share Posted November 24, 2009 Thank you all it worked out Perfect. Quote Link to comment https://forums.phpfreaks.com/topic/182826-line-break/#findComment-964982 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.