Form Formatting
Posted: Sun Feb 01, 2004 9:51 am
how do you have a text box pass its formatting through a form?
as in line breaks and spaces
as in line breaks and spaces
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
<?php
$formatted_text = nl2br($_POST['your_textarea']);
?>