Upazila/Thana Wise (NGO)
Contraceptive Acceptors and Acceptance Rate (CAR%)

Division : District : Month : Year :


'1' And thana.Dist_code='$Dist_Id' Group By thana.thana_Name Order By thana.thana_Code"); $num=mysql_num_rows($result); //Total Output $Tresult =mysql_query("select sum(car_details.Total_EC) TEC, (Sum(car_details.Pill_Old)+Sum(car_details.Pill_New)) TPill, (Sum(car_details.Con_Old)+Sum(car_details.Con_New)) TCon, (Sum(car_details.Inj_Old)+Sum(car_details.Inj_New)) TInj, (Sum(car_details.IUD_Old)+Sum(car_details.IUD_New)) TIUD, (Sum(car_details.Imp_Old)+Sum(car_details.Imp_New)) TImp, (Sum(car_details.PerM_Old)+Sum(car_details.PerM_New)) TPerM, (Sum(car_details.PerF_Old)+Sum(car_details.PerF_New)) TPerF, (Sum(car_details.PerM_Old)+Sum(car_details.PerM_New)+Sum(car_details.PerF_Old)+Sum(car_details.PerF_New)) TTPer, (((Sum(car_details.Pill_Old)+Sum(car_details.Pill_New))+ (Sum(car_details.Con_Old)+Sum(car_details.Con_New))+ (Sum(car_details.Inj_Old)+Sum(car_details.Inj_New))+ (Sum(car_details.IUD_Old)+Sum(car_details.IUD_New))+ (Sum(car_details.Imp_Old)+Sum(car_details.Imp_New))+ (Sum(car_details.PerM_Old)+Sum(car_details.PerM_New))+ (Sum(car_details.PerF_Old)+Sum(car_details.PerF_New)) )/sum(car_details.Total_EC))*100 TTCAR from thana,car_details Where (car_details.thana_code=thana.thana_code) And car_details.Month_Id='$Date' And NGO_Code<>'1' And thana.Dist_code='$Dist_Id' "); $Trow=mysql_fetch_array($Tresult); $T_EC=$Trow['TEC']; $T_Pill=$Trow['TPill']; $T_Con=$Trow['TCon']; $T_Inj=$Trow['TInj']; $T_IUD=$Trow['TIUD']; $T_Imp=$Trow['TImp']; $T_PerM=$Trow['TPerM']; $T_PerF=$Trow['TPerF']; $T_Tper=$Trow['TTPer']; $T_Total=$T_Pill+$T_Con+$T_Inj+$T_IUD+$T_Imp+$T_PerM+$T_PerF; $T_CA=$Trow['TTCAR']; $T_CAR=number_format($T_CA,2); ?>
District :
Reporting Month :
,
Division Name Eligible Couple Oral Pill Condom Injectable I U D Implant Permanent Method Total Acceptors CAR(%)
Male Female Total
District Total