Page 1 of 1

[PHP] and return

Posted: Mon 26. Jun 2006, 16:36
by mdgroot
Does someone know how to include a return <br> between the [PHP] tags ?

If I use
[PHP]
echo "test";
echo "<br><br>";
echo "test2";
[/PHP]

it's not going to work. All other tags, like <hr> e.g. are working, but not the <br>. It's printing it all on 1 line.

Posted: Mon 26. Jun 2006, 17:43
by Pauli
echo "<br";
echo ">";

Posted: Mon 26. Jun 2006, 18:23
by mdgroot
thanks. That did the trick...
why is that ?

Posted: Mon 26. Jun 2006, 19:56
by Pauli
I don't know, I just had the same situation once :)