Sign in to follow this  

[web] PHP & Carridge Returns

This topic is 4202 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites

This topic is 4202 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this