District Wise NGO
Contraceptive Distribution and Performed


Select : Select : Select :
'1' Group By district.Dist_Name Order By district.Dist_code"); $num=mysql_num_rows($result); //Total Output $Tresult =mysql_query("select Sum(distribution_details.oralpill) TPill, Sum(distribution_details.condom) TCon, Sum(distribution_details.inj_vial) TInjv, Sum(distribution_details.inj_siringe) TInjs, Sum(distribution_details.iud_normal) TIUDN, Sum(distribution_details.iud_pn) TIUDP, Sum(distribution_details.iud_total) TIUDT, Sum(distribution_details.iud_remove) TIUDR, Sum(distribution_details.implant_new) TImpN, Sum(distribution_details.implant_remove) TImpR, Sum(distribution_details.ecp) TECP, Sum(distribution_details.mizopostal) TMIZ, Sum(distribution_details.per_male) TPerM, Sum(distribution_details.per_femalenormal) TPerFN, Sum(distribution_details.per_femalepn) TPerFP, Sum(distribution_details.per_femaletotal) TPerFT From district,thana,distribution_details Where ((district.Dist_code = thana.Dist_code) And (distribution_details .Thana_code=thana.Thana_code)) And distribution_details .Month_Id='$Date' And distribution_details .NGO_Code<>'1' And district.Div_code='$Div_Code' "); $Trow=mysql_fetch_array($Tresult); $Tpill=$Trow['TPill']; $TCondom=$Trow['TCon']; $TInjV=$Trow['TInjv']; $TInjS=$Trow['TInjs']; $TIUDN=$Trow['TIUDN']; $TIUDP=$Trow['TIUDP']; $TIUDT=$Trow['TIUDT']; $TIUDR=$Trow['TIUDR']; $TImpN=$Trow['TImpN']; $TImpR=$Trow['TImpR']; $TECP=$Trow['TECP']; $TMIZ=$Trow['TMIZ']; $TPerM=$Trow['TPerM']; $TPerFN=$Trow['TPerFN']; $TPerFP=$Trow['TPerFP']; $TPerFT=$Trow['TPerFT']; //Reporting Thana Count $sql1=mysql_query("select count(Thana_code) Thana_code from distribution_details where Month_Id='$Date' And NGO_Code='1' And substr(Thana_code,1,2)='$Div_Code'"); $rowR=mysql_fetch_array($sql1); $R_Thana=$rowR['Thana_code']; //Total Thana Count $sql2=mysql_query("select count(Thana_code) Thana_code from thana where substr(Thana_code,1,2)='$Div_Code'"); $rowT=mysql_fetch_array($sql2); $T_Thana=$rowT['Thana_code']; ?>
Division :
Reporting Month :
,
Upazila/Thana
Distribution
Performed
Oralpill
Condom
Injectable
IUD
Implant
ECP
Mizopostral
Permanent Metod
Vial
Syringe
New
Remove
New
Remove
Male
Female
Normal
Post-Natal
Total
Normal
PN
Total
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Reporting Upazila/Thana :  Out of :  Upazila/Thana