On Fri, Feb 02, 2007 at 09:01:38PM +0100, Steffen Ebermann wrote:
>
>     $new = preg_replace("!\|| !", "_", $old);

Heyha, the mail's subject gone obsolete. preg_replace isn't
necessary at all.

Better use: $new = str_replace(array ("|"," "), "_", $old);

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

Reply via email to