[web] PHP & Carridge Returns

Started by
-1 comments, last by Sonnenblume 17 years, 10 months ago
Heya Im discovering the joys of PHP and MySQL, and thought as a little project I'd create my own blogging software. Ive got a little page which writes the text to a database, and my website retrieves it without and difficulty. The problem is however is that as the text being entered is just straight from the html text box, all of the text is technically just on one line, so any carridge returns that I have entered with inputting the text now have no function. How would I go about replacing these carridge returns with the
tag?

This topic is closed to new replies.

Advertisement