From escape sequence characters, I mostly like to use “n” new line character in php. And this code is completely right in latest php versions after php 5. But mine cannot recognize and expand this code. To fix this problem I have tried so many methods. But I couldn’t find the solution that can fix it.
<?php
echo" hello website developing in php n";
echo" hello website developing in phpn";
echo" hello website developing in php";
?>
expected output
hello website developing in php
hello website developing in php
hello website developing in php
displayed output
hello website developing in phphello website developing in phphello website developing in php
New contributor
Addisu Tefera is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2