get_results("SELECT * FROM `".WPSC_TABLE_CURRENCY_LIST."` ORDER BY `country` ASC",ARRAY_A); // foreach ($country_data as $country) // { // $selected =''; // if($selected_country == $country['isocode']) // { // $selected = "selected='true'"; // } // $output .= ""; // } // return $output; // } if(preg_match("/[a-zA-Z]{2,4}/",$_GET['isocode'])) { $country_isocode = $_GET['isocode']; } else { $country_isocode = get_option('base_country'); } $base_region = get_option('base_region'); ?>