Method Distribution Entry
User :
Monthly Entry Form :: Distribution (Total)
0){ $result7=mysql_query("SELECT * FROM distribution_details where thana_code='$Thana_code' and month_id='$Date'and ngo_code='1'"); $num1=mysql_num_rows($result7); $i=0; while ($i<$num1){ $num_id=1; $month_id=mysql_result($result7,$i,"month_id"); $thana_code=mysql_result($result7,$i,"thana_code"); $oralPill=mysql_result($result7,$i,"oralPill"); $condom=mysql_result($result7,$i,"condom"); $inj_vial=mysql_result($result7,$i,"inj_vial"); $inj_siringe=mysql_result($result7,$i,"inj_siringe"); $iud_normal=mysql_result($result7,$i,"iud_normal"); $iud_pn=mysql_result($result7,$i,"iud_pn"); $iud_total=mysql_result($result7,$i,"iud_total"); $iud_remove=mysql_result($result7,$i,"iud_remove"); $implant_new=mysql_result($result7,$i,"implant_new"); $implant_remove=mysql_result($result7,$i,"implant_remove"); $ecp=mysql_result($result7,$i,"ecp"); $mizopostal=mysql_result($result7,$i,"mizopostal"); $per_male=mysql_result($result7,$i,"per_male"); $per_femalenormal=mysql_result($result7,$i,"per_femalenormal"); $per_femalepn=mysql_result($result7,$i,"per_femalepn"); $per_femaletotal=mysql_result($result7,$i,"per_femaletotal"); ++$i; } } else { echo 'Data Insert not allowed'; } //Last Month $resultdate=mysql_query("SELECT Max(month_id) Maxdate FROM distribution_details where thana_code='$Thana_code' and ngo_code='1'"); $rowD=mysql_fetch_array($resultdate); $M_Date=$rowD['Maxdate']; $VDate=date("F,Y",mktime(0,0,0,substr($M_Date,5,2),28,$H_Year)); //Thana Name $resultT=mysql_query("SELECT Thana_Name FROM thana where Thana_code='$Thana_code'"); $rowT=mysql_fetch_array($resultT); $T_Name=$rowT['Thana_Name']; //District name $resultD=mysql_query("SELECT Dist_Name FROM district where Dist_code='$Dist_Id'"); $rowD=mysql_fetch_array($resultD); $D_Name=$rowD['Dist_Name']; ?>
District:
Upazilla/Thana :
Reporting Month :,
Last Entry Month:-
Method Distribution
Oralpill (cycle)
Condom (Pieces)
Injectable
IUD
Implant
ECP
Misoprostol
Vial
Syringe
New
Remove
New
Remove
Normal
Postpartum
Total
3 4 5 6 7 8 9 10 11 12 13 14
Method Performed
Permanent Method
Male
Female
Normal
Postpartum
Total
15 16 17 18
Copyright © 2013 MIS Unit, DGFP All rights reserved