0
How do you move to the next line in php? Like "\n" in c or endl; in c++?
tag
5 Réponses
+ 3
it can be done by echo $x.'<br>'.$x;
+ 1
Using <br> tag. like in HTML but this time it's gonna be used like this: echo "<br>hello, World!"; //or putting a variable cocatenating //with <br> tag like this:
$variable = "Hello, World";
echo "<br>" . $variable;
0
or for example echo `x: ` .$x. `<br/>`;
0
begin a new HTML line with each iteration of the loop
0
echo nl2br ("\n")