Welcome Guest, Not a member yet? Register   Sign In
how to change ENTER into <br /> on form_textarea??
#11

[eluser]gomji9star[/eluser]
nl2br it's a php function which is provide this kind of facility
#12

[eluser]atlanta[/eluser]
Code:
&lt;?php
echo nl2br("foo isn't\n bar");
?&gt;

foo isn't<br />
bar

hopefully that helps.
Source http://us3.php.net/nl2br

and to help if you do php.net/function_name

it will give you an explanation of the function




Theme © iAndrew 2016 - Forum software by © MyBB