terryds Posted October 31, 2013 Share Posted October 31, 2013 How to add a line break in PHP elegantly ? Should i use n , or <br> or <br>n ? Link to comment Share on other sites More sharing options...
Ingolme Posted October 31, 2013 Share Posted October 31, 2013 If it's for an HTML document, use <br>, if it's for any other kind of data use n. Though perhaps you don't need a line break if it's for HTML and you can simply wrap strings in <p> tags. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now