On 13/09/2004, at 12:45 PM, John Holmes wrote:

str_replace(array("\r","\n",'',$text)

Is one way to do it.

Typo John:

str_replace(array("\r","\n"),'',$text);

:)

---
Justin French
http://indent.com.au

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



Reply via email to