
07-16-2008, 01:41 PM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 249
|
|
Quote:
Originally Posted by curtiss
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);
|
Oh yeah that's true.
|