Division Wise NGO
Contraceptive Distribution and Performed


National Distribution Division wise Select : Select :
'1' Group By division.Div_code Order By division.Div_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 distribution_details Where NGO_Code<>'1' and distribution_details .Month_Id='$Date'"); $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'"); $rowT=mysql_fetch_array($sql1); $R_Thana=$rowT['Thana_code']; //Total Thana Count $sql2=mysql_query("select count(Thana_code) Thana_code from thana "); $rowT=mysql_fetch_array($sql2); $T_Thana=$rowT['Thana_code']; ?>
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