hi again! this is another problem i encountered while doing my projects. you see, i have this textfield, and i would like to save what's in that textfield into the sql db with the formatting, like indentations. i already resolved the problem with newlines, but i guess this is the next one i need solved. thanks for you help again!
bu the way, here's the codes i placed in my project
[PHP]
$sys_app = $_POST['sys_app'];
$sys_app = nl2br($sys_app) ; // for line breaks
[/PHP]
[html]
<textarea name="sys_app" cols=70 rows=6></textarea>
[/html]
bu the way, here's the codes i placed in my project
[PHP]
$sys_app = $_POST['sys_app'];
$sys_app = nl2br($sys_app) ; // for line breaks
[/PHP]
[html]
<textarea name="sys_app" cols=70 rows=6></textarea>
[/html]
Comment