I'm creating a blog site in PHP. Users can enter a title for their blog in a textbox, and the body of their blog in a textarea box.
I'm storing the body of their blog in a PHP database as a varchar type.
When I retrieve the body of a blog from the database and output it to the screen, will the blog lose all formatting (e.g. paragraph breaks, indents, etc.)? If so, how can I preserve the formatting?
2007-02-05
05:57:48
·
5 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design