Answers for "how to get newline in php"

PHP
4

php newline

"\r\n"
Posted by: Guest on February-15-2020
2

php new line

//let a variable contain multiple line
//add <br> tag in string
$variable = "123 <br> ";
Posted by: Guest on June-09-2020
0

php newline

‘\n’ or ‘\r\n’ is the easiest way to embed newlines in a PHP string
Posted by: Guest on April-07-2022
0

newline not working php

// When you run a PHP script in a browser, it will be rendered as HTML by default.
// Use <br /> instead or modify the header to content type plain text
echo "Hello <br /> World";
Posted by: Guest on November-27-2020

Browse Popular Code Answers by Language