District wise
Method Distribution and Performed

Division From Month Year To Month Year


0 Group By district.Dist_Name Order By district.Dist_code,distribution_details.month_id"); $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.thana_code=thana.thana_code) And (distribution_details.month_Id Between '$Date' and '$Date1' ) And NGO_Code='1' And length(distribution_details.thana_code)<>0 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']; ?>
Division Name:
Reporting Month From:
,
To  
,
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