How about
  $foo = str_replace(' ','',$foo);
?

Or could there be an ' ' in a context where it shouldn't be replaced?

Thomas 

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

Reply via email to