Dont know if thats the proper terms there, but I have a form that when filled out, will be saved to mysql.
It is then printed to the main screen as a "news article."
What I would like to happen is instead of having to type <p></p> for a new paragraph, for php to find the hard returns in the form, turn them into the code (whatever can be used -- hence why Im asking), and then when it is printed to the screen as an article, will automaticlly pick up on the hard returns and make them new paragraphs.
Im sure I can do it with preg_replace and the such, but what is the hard return character and how would php pick up on it?
So in other words (I guess), how can I use preg_replace to pick up on hard returns and make them into <p></p>?