Division Wise (NGO)
Contraceptive Acceptors and Acceptance Rate (CAR%)

Select Month : Select Year :


'1' Group By division.Div_Name Order By division.Div_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 car_details Where NGO_Code<>'1' and car_details.Month_Id='$Date'"); $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_Tper; //$T_CAR=Round((($T_Total/$T_EC)*100),2); $TTCA=$Trow['TTCAR']; $TTCAR=number_format($TTCA,2); ?>
Reporting Month :
,
Division Name Eligible Couple Oral Pill Condom Injectable I U D Implant Permanent Method Total Acceptors CAR(%)
Male Female Total
National Total