| Nationality: |
echo $nationality; ?> |
| Average Life Expectancy: |
Male: echo $lifeexpectancym; ?> |
|
Female: echo $lifeexpectancyf; ?> |
| Adult Literacy: |
Male: print number_format($literacym); ?>% |
|
Female: print number_format($literacyf); ?>% |
| Population: |
print Number_format($population); ?> |
| Deaths of Children Under 5: |
|
| Population with inadequate access to clean water: |
print Number_format($waterall) ?>% |
| Population with inadequate access to sanitation: |
print Number_format($sanitall) ?>% |
| Population with inadequate access to health care: |
print Number_format($healthall) ?>% |
Religions:
$dbquery = "SELECT religion, poppct from religion where country_id=".$countryid;
$result=mysql_db_query("fhi_voc",$dbquery, $mysql_link);
while($row = mysql_fetch_array($result)) {
echo "".$row["religion"];
if (($row["poppct"] <> null) && ($row["poppct"] <> "") && ($row["poppct"] <> 0)) {
echo " ";
print number_format($row["poppct"]);
echo "% ";
}
}
echo " ";
?>
|
Ethnic groups:
$dbquery = "SELECT ethgroup, poppct from ethnicity where country_id=".$countryid;$result=mysql_db_query("fhi_voc",$dbquery, $mysql_link);
while($row = mysql_fetch_array($result)) {
echo "".$row["ethgroup"];
if (($row["poppct"] <> null) && ($row["poppct"] <> "") && ($row["poppct"] <> 0)) {
echo " ";
print number_format($row["poppct"]);
echo "% ";
}
}
echo " ";
?>
|
Languages:
$dbquery = "SELECT language, poppct from language where country_id=".$countryid;$result=mysql_db_query("fhi_voc",$dbquery, $mysql_link);
while($row = mysql_fetch_array($result)) {
echo "".$row["language"]." ";
}
echo " ";
?>
|
Economy:
echo $economy; ?>
| Average Annual Income: |
$ print Number_format($aveyrincome); ?> (US) |
| Currency: |
echo $cncyname ?> |
FHI in echo $countryname ?>
Year started: echo $fhistartdate?> Number of Beneficiaries: echo $benefpersons ?> Number of Staff: echo $totalstaff ?>
echo $fhihistoverview ?>
Programmes
$dbquery = "SELECT id, name, description from programs where country_id=".$countryid;
$result=mysql_db_query("fhi_voc",$dbquery, $mysql_link);
while($row = mysql_fetch_array($result)) {
echo " ".$row["name"].": ".$row["description"]."
";
$programid=$row["id"];
$dbquery2 = "SELECT achievement from prog_accomp where program_id=".$programid;
$result2=mysql_db_query("fhi_voc",$dbquery2, $mysql_link);
echo " ";
while($row2 = mysql_fetch_array($result2)) {
echo "- ".$row2["achievement"]."
";
}
echo " ";
}
?>
|