[PHP] Converting a string to formatted html

2003-10-27 Thread Ian Gray
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

[PHP] Converting a string to formatted html

2003-10-27 Thread Ian Gray
(I'm re-submitting this 'cos I sent it in html- woops!) 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

Re: [PHP] Converting a string to formatted html

2003-10-27 Thread Justin French
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.