textarea question - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: textarea question (/showthread.php?tid=11751) |
textarea question - El Forum - 09-22-2008 [eluser]Kotzilla[/eluser] i have question about data in textarea when it goes to database. in normal php it's working fine. it should be contain chr(13) or Enter Key to transform in format <br />. but i can't find it in CI so, how should i suppose to do. im no need to extend BBcode on textarea Thank's so much for answer :lol: textarea question - El Forum - 09-22-2008 [eluser]GSV Sleeper Service[/eluser] use the php function nl2br() when you display the text textarea question - El Forum - 09-22-2008 [eluser]Kotzilla[/eluser] [quote author="GSV Sleeper Service" date="1222109511"]use the php function nl2br() when you display the text[/quote] GSV Sleeper Service, Thank's you so much :-) textarea question - El Forum - 09-22-2008 [eluser]Derek Allard[/eluser] Of course GSV Sleeper Service has it, but for completeness, you may also want to give the typography helper a look. textarea question - El Forum - 09-22-2008 [eluser]Kotzilla[/eluser] Thank's Derek for Addition, i visit that page already =) |