Guest User

Untitled

a guest
Jan 21st, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. <?php
  2. include 'config2.php';
  3.  
  4. $sql=mysql_query("SELECT SUM(`nat_ind1`) AS ind_num FROM lcho_natality WHERE `barangay_id`= '17' and `date` between '".$dFrom."' and '".$dTo."' ");
  5.  
  6.  
  7. $indicator10='ind_num'; // name column in the table
  8. while($row = mysql_fetch_array( $sql )) {
  9.  
  10. echo $row['ind_num'];
  11.  
  12. }
  13. ?>,
  14.  
  15. [' Balintawak',
  16.  
  17. <?php
  18. include 'config2.php';
  19.  
  20. $sql=mysql_query("SELECT SUM(`deng_case_ind1`) AS ind_num FROM lcho_dengue_cases2 WHERE `barangay_id`= '17' and `date` between '".$dFrom."' and '".$dTo."' ");
  21.  
  22.  
  23. $indicator10='ind_num'; // name column in the table
  24. while($row = mysql_fetch_array( $sql )) {
  25.  
  26. echo $row['ind_num'];
  27.  
  28. }
  29. ?>,
  30.  
  31. ],
Add Comment
Please, Sign In to add comment