function customerdb_getcountry(){
$sql="SELECT DISTINCT code, FROM country ORDER BY code";
$results=sql($sql, "getAll");
return $results;
---------------------------------------------------------------------
//country
echo "
\n";
------------------------------------------------------------------
SELECT DISTINCT code, FROM country ORDER BY code [nativecode=1064 ** You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM
country ORDER BY code' at line 1]