|
Posted by Good Man on 12/21/07 17:13
Rozzy <rozmaha@gmail.com> wrote in news:50f642c7-8efd-4e4b-8234-
c4fc752bb8d2@21g2000hsj.googlegroups.com:
> Hi, I'm having trouble using the proper terminology, so bear with me,
> I am trying to submit text to a mysql database. I want to be able to
> allow formatting of this content (like breaking it up into
> paragraphs). I am sending the data to the server via ajax, and so
> escape the characters.
>
> When I read back the information on my news page, all of the
> formatting is gone. Do I need to unescape the charachters somehow
> using javascript or php?
>
> Any help is appreciated
>
What is your definition of "formatting"? Line breaks? If so, are you
calling nl2br('databasevalue') before printing to the page?
Navigation:
[Reply to this message]
|