|
Country:
|
$mysql_link = connectdb();
$query = sprintf('SELECT PAISCOD2ALFA,PAISNOMBRE FROM Paises ORDER BY PAISNOMBRE;');
$result = mysql_query($query, $mysql_link);
if(!$result) {
$error_msg = mysql_errno($mysql_link) . ' - Invalid query: ' . mysql_error() . "\n";
$error_msg .= 'query-msg = ' . $query;
die($error_msg);
}
?>
|
|