/** * Function gets the currecny details from the database * * @param array $Err * @return string */ function showAddCurrency($Err) { $sqlCat = "SELECT * FROM country_table ORDER BY cou_name"; $queryCat = new Bin_Query(); $queryCat->executeQuery($sqlCat); $sqlCat1 = "SELECT * FROM currency_codes_table ORDER BY currency_name"; $queryCat1 = new Bin_Query(); $queryCat1->executeQuery($sqlCat1); return Display_DCurrencySettings::showAddCurrency($queryCat->records, $queryCat1->records, $Err); }