Answers for "how to use \n in php echo"

PHP
0

php why "n" not new line

if "testn" not return, new line
  1st solution:echo "test".PHP_EOL;
  2nd solution:<?php header('Content-type: text/plain'); ?>
  3rd solution:"<br />" instead of "n" or "rn"
Posted by: Guest on July-13-2021

Browse Popular Code Answers by Language