Reputation: 1266
I dont know why new line didnt work with both double quotes and PHP_EOL.
<?php
echo "next line check\n";
echo "next line check1\n";
echo "next line check2" . PHP_EOL;
echo "next line check3";
?>
Above is my script. Below is the output i am getting.
next line check next line check1 next line check2 next line check3
Upvotes: 0
Views: 794