I'm writing by own blogging engine in PHP with a MYSQL backend database. MY question is: How would you go about making user comments and blog posts include newlines wherever they are appropriate?
For example, if a user hits the return key in the message/comments box how would this translate into a new line that would show in the browser when the comment is viewed?