PHP does not convert for you. Thanks for your reply. Yes, I looked at the source code, but no , all I get is a new line of white space, which as we know is ignored by the browser. Thats correct. You didnt ask PHP to write a
ini. 1) when I check on the command line with > php -i it shows However, if you want the line breaks to be visible in the browser too, you can use the PHP nl2br() function which inserts HTML line breaks before all newlines in a string. END but the text still comes out on one line so I think its an issue with Netbeans itself.This has nothing to do with your editor. If you view the output in a browser, it is correct that no line break will be visible by Email codedump link for Netbeans issue: No new lines with PHP.
But I just printed a line with echo as echo New line added ?> and seen the output in browser.