District wise
Swithcover Method Acceptors and Swithcover Rate %
Select 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]
";} } ?>
Select Month :
Month
January
February
March
April
May
June
July
August
September
October
November
December
Select Year :
Year
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
Division :
echo $D_Name; ?>
Reporting Month :
echo $M_Name; ?>, echo $y; ?>
District Name
Eligible Couple
Oral Pill
Condom
Injectable
I U D
Implant
Total Switchover
Switchover Rate (%)
$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"); $TUser=$Pill+$Con+$Inj+$IUD+$Imp; $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 $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_Total;?>
echo $T_CAR;?>