Education enrollment and public expenditure statistics:
Country:
prepare($query)) { $stmt->bind_param('s', $country); $stmt->execute(); $stmt->bind_result($min, $max); $stmt->fetch(); echo "Range of years with data: $min to $max\n"; $stmt->free_result(); } ?>
"; $r_fp = " | ||||||||||
Number of female primary students | "; $r_ap = "||||||||||
Number of all primary students | "; $r_fs = "||||||||||
Enrollment rate of female secondary students | "; $r_ms = "||||||||||
Enrollment rate of male secondary students | "; $r_as = "||||||||||
Enrollment rate of all secondary students | "; $r_ft = "||||||||||
Number of female tertiary students | "; $r_at = "||||||||||
Number of all tertiary students | "; $r_gni = "||||||||||
Public education expenditure as a % of GNI | "; $r_exp = "||||||||||
Public education expenditure as a % of government expenditure | "; while ($stmt->fetch()) { $fs = percentString($fs); $ms = percentString($ms); $as = percentString($as); $gni = percentString($gni); $exp = percentString($exp); $thead .= "$year | "; $r_fp .= "$fp | "; $r_ap .= "$ap | "; $r_fs .= "$fs | "; $r_ms .= "$ms | "; $r_as .= "$as | "; $r_ft .= "$ft | "; $r_at .= "$at | "; $r_gni .= "$gni | "; $r_exp .= "$exp | "; } $thead .= "