Hi,

Figured it out.

I needed to reset my output array $numeric_array.

//strip the commas from numeric array so it can sort properly-------

foreach($numeric_array as $key => $value ) {
        if(strstr($value,","))
        {
                $value = ereg_replace(",","", "$value");
                          $numeric_array[$key] = $value; //<----reset the output array
                echo "comma stripped";
        }
}

Thanks again for all your help,

Jim Long

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

Reply via email to