Jump to content

[SOLVED] textarea breaks and editing..


Scooby08

Recommended Posts

I'm trying to get my textarea to print out like it is with all the breaks before submitting..  I have used this to get it to print out correctly with the breaks:

 

$notes = nl2br($_POST['notes']);

 

Works great.. The thing is when I go back to edit it again it shows all the br's in the textarea which will confuse those who do not know html..

 

What can I do to remedy this??

 

 

Link to comment
https://forums.phpfreaks.com/topic/124266-solved-textarea-breaks-and-editing/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.