Ian,

PLEASE search the archives before asking the list -- this question is asked every couple of days, which is quite frustrating.

See http://au.php,net/nl2br

Justin French

On Monday, October 27, 2003, at 09:15 PM, Ian Gray wrote:

Hi all,

I know this can be done somehow but I am not sure. I have a form being submitted to a php file and I wanted a textfield to be converted to formatted html. At the moment none of the line breaks are being submitted and inverted commas have slashes. I know the slashes can be removed using stripslashes function. I thought line breaks would come through with \n but that isn't being transmitted over the form. Can anyone help?

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to