Php Line breaks using nl2br

I’ve ran into a few situations where a user was to fill out a form but their use of “enter” wasn’t being counted. In other words, all paragraphs were crammed together into one.

Using php’s nl2br function automatically inserts “enter” where the user has placed them.

Brandon

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Leave a Reply

You must be logged in to post a comment.