View Single Post
  #2 (permalink)  
Old 07-16-2008, 06:28 AM
curtiss's Avatar
curtiss curtiss is offline
Moderator
 
Join Date: May 2003
Posts: 1,468
That's because you're adding to the $new variable, rather than reinstantiating it each time. Get rid of the dot in front of the equal sign in this line:
PHP Code:
        $new .= preg_replace("/[^ -þ]/"""$old); 
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote