Jump to content

Displaying newline returns in text boxes and/or via echo


CincoPistolero

Recommended Posts

I have text box that users enter data into. I want them to be able to hit the enter key to create a new line. When they submit data to DB, it goes to a confirm page. I'm using stripcslashes so that it does not display the \r and \n. However, when I do this, it does not display the returns anymore. Is there a different method I can use?

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.