bgsomers Posted January 5, 2007 Share Posted January 5, 2007 What on earth can I be doing wrong so that \n in an echo instruction produces no line breaks? The \n are being processed as they do not appear in the output, but there are no line breaks.Bruce Link to comment https://forums.phpfreaks.com/topic/32988-line-breaks/ Share on other sites More sharing options...
kenrbnsn Posted January 5, 2007 Share Posted January 5, 2007 Browsers use the tag [nobbc]<br> to produce a line break not "\n"[/nobbc].Ken Link to comment https://forums.phpfreaks.com/topic/32988-line-breaks/#findComment-153571 Share on other sites More sharing options...
taith Posted January 5, 2007 Share Posted January 5, 2007 \n breaks the source code onto another line(right click, view source, you'll see...)br breaks the line itself thats shown on the webpage. Link to comment https://forums.phpfreaks.com/topic/32988-line-breaks/#findComment-153572 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.