mamdouh asked this 2 years ago

New line character not working in PHP?


echo "/n";


is not working for me somehow?


AskOTG 2 years ago
1 like

Thats weird.

Are you echoing this to a webpage?

In that case use html <br> instead.


sonja 2 years ago
1 like

Use the PHP_EOL built-in constant.

echo PHP_EOL;