Jump to content

PHP <textarea> text replacement


morrisjohnny

Recommended Posts

Wow, all you need for this is to use nl2br (new line to break). Haha, no string replaces :). But you should only use it when echoing out, as every time the person edits it will add a new break, so you end up with large spaces.

Link to comment
Share on other sites

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
×
×
  • Create New...