Getting a form to insert <br> tags in a textbox?

I’ve got a multi-line textfield form in an HTML page which sends the contents to a PHP file. Problem is, the text it sends to the PHP file doesn’t have <br> tags where the user put line-breaks.

Is there a way I can have the form send <br> tags wherever there’s line-breaks? Or can PHP somehow insert them?

Thanks.

use nl2br.

Thanks! :smiley:

no problem. you might also want to check out this thread and create a custom nl2p function.