[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - Stupid question about escape characters
Page 1 of 1

Stupid question about escape characters

PostPosted: Mon Oct 02, 2006 10:36 am
by midasal

PostPosted: Mon Oct 02, 2006 2:28 pm
by Batalf

PostPosted: Mon Oct 02, 2006 2:51 pm
by midasal
well that's what I did before - but I keep seeing tutorials saying I have to use <br>\n and the like?! Is this just a silly convention or is there any value to it?

And can I ask why you used 'writeln' for the first and 'write' for the second?

PostPosted: Mon Oct 02, 2006 2:54 pm
by Batalf
No, can't see any reason why you should add \n after the <br> tag.

btw: writeln() writes it as standalone line anyway.