var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
replace enter with <br>?
in forums (like this one) you dont have to type <br> for a line break, how do you do this i need it for my form.
I think we can use this to print out the output...
it will replace a new line with <br>
str_replace("\n","<br>",$str); // where $str is the string output
PHP has a function specifically for this.
oh that's sweet huh : ) the nl2br() function, i didn't know it before
k, thanks for all your help
nl2br() is also XHTML compliant i.e. new lines are replaced with <br />