[nycphp-talk] Textarea formatting
Ben Sgro (sk)
skyline at publicmine.com
Thu Oct 19 12:47:09 EDT 2006
Hello all,
I have a textarea field that can .. store text.
I'm using it to save emails for example w/a form.
I grab the posted data and call addslashes( ) then stick it into the
database, varchar(1024). (this is a calendar app for my own use).
Now, when I pull it out, its not formatted and displaying it on the screen
is just one long line.
How can I keep newlines/r and formatting from the text that is input into
the textarea box?
Thanks.
- Ben
More information about the talk
mailing list