I can't use "\n" in php?

realafghani

New member
how do I use the "/n" in php?
exp:

$firstnum = 3;
$secondnum=4;
print" First number is $firstnum \n";
print"Second number is $secondnumber \n";

And I get the output on the same line:
First number is 3 Second number is 4
but i want the out put to be on two lines.
Thank you
 
$firstnum = 3;
$secondnum=4;
print" First number is $firstnum";
echo "<br/>";
print"Second number is $secondnumber";
echo "<br/>";
 
Back
Top