District Wise (NGO)
Contraceptive Acceptors and Acceptance Rate (CAR%)
Division :
select Division
$result=mysql_query("select div_code,div_name from division "); while($Row=mysql_fetch_array($result)){ if($div_Code==$Row[div_code]){ echo"
$Row[div_name]
";} else{ echo"
$Row[div_name]
";} } ?>
Month :
Month
January
February
March
April
May
June
July
August
September
October
November
December
Year :
Year
2007
2008
2009
2010
2011
2012
2013
2014
2015
Division :
echo $D_Name; ?>
Reporting Month :
echo $M_Name; ?>, echo $y; ?>
Division Name
Eligible Couple
Oral Pill
Condom
Injectable
I U D
Implant
Permanent Method
Total Acceptors
CAR(%)
Male
Female
Total
$i=0; while ($i<$num){ $Dist_name=mysql_result($result,$i,"district.Dist_Name"); $Toatal_Ec=mysql_result($result,$i,"EC"); $Pill=mysql_result($result,$i,"Pill"); $Con=mysql_result($result,$i,"Con"); $Inj=mysql_result($result,$i,"Inj"); $IUD=mysql_result($result,$i,"IUD"); $Imp=mysql_result($result,$i,"Imp"); $PerM=mysql_result($result,$i,"PerM"); $PerF=mysql_result($result,$i,"PerF"); $TPer=mysql_result($result,$i,"TPer"); $TUser=$Pill+$Con+$Inj+$IUD+$Imp+$TPer; $TCAR=number_format(mysql_result($result,$i,"TCAR"),2); ?>
echo $Dist_name;?>
echo $Toatal_Ec;?>
echo $Pill;?>
echo $Con;?>
echo $Inj;?>
echo $IUD;?>
echo $Imp;?>
echo $PerM;?>
echo $PerF;?>
echo $TPer;?>
echo $TUser;?>
echo $TCAR;?>
++$i; } ?>
Division Total
echo $T_EC;?>
echo $T_Pill;?>
echo $T_Con;?>
echo $T_Inj;?>
echo $T_IUD;?>
echo $T_Imp;?>
echo $T_PerM;?>
echo $T_PerF;?>
echo $T_Tper;?>
echo $T_Total;?>
echo $T_CAR;?>