textarea question |
[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:
[eluser]GSV Sleeper Service[/eluser]
use the php function nl2br() when you display the text
[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 :-)
[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.
[eluser]Kotzilla[/eluser]
Thank's Derek for Addition, i visit that page already =) |
Welcome Guest, Not a member yet? Register Sign In |