How to add a line break within echo in PHP?
\n is a line break. /n is not. use of \n with 1. echo directly to page Now if you are trying to echo string to the page: output will be: you won’t get garden in new line because PHP is a server-side language, and you are sending output as HTML, you need to create line breaks in HTML. HTML doesn’t understand \n. You … Read more