Home › Forums › Back End › Parsing PHP Better? › Re: Parsing PHP Better?
July 30, 2011 at 10:03 am
#84268
ddliu
Member
@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;
}