Justin French wrote:

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);

Yeah, that's why I said it was "one way" to do it and not the "correct way" to do it... come on people!! ;)


Anyway, I uhmm... did that on purpose. Yeah, it was a test to see if David was paying attention. Since he caught it, also, I guess my, uh, test worked. Yeah... that's the ticket!

--

---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

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



Reply via email to