The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Parsing PHP Better? Re: Parsing PHP Better?


@stevendeeds, It’s all under your control.

echo “something”, it’s just what it means, will output “something” **without line break**, PHP will not add line breaks for you.

echo “somethingn”, you will have “somethingLINEBREAK”.

You can write a simple function to wrap it, but I don’t think it’s necessary:

function print_line($text){
echo $text."n";
//or echo $text.PHP_EOL;