Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. <?php $sql = "SELECT estimated_sum FROM burndown_snap WHERE project_id='$sum1 AND name='$sum2'";
  2. $result = $conn->query($sql);
  3. if ($result->num_rows > 0) {
  4. while($row = $result->fetch_assoc()) {
  5. $burn_actual = "" . $row["estimated_sum"]. ",";
  6. echo $burn_actual;
  7. }
  8. }
  9. ?>
  10.  
  11. <?php $sql = "SELECT estimated_sum FROM burndown_snap WHERE project_id='$sum1 AND name='$sum2'";
  12. $result = $conn->query($sql);
  13. if ($result->num_rows > 0) {
  14. while($row = $result->fetch_assoc()) {
  15. $burn_actual = "" . $row["estimated_sum"]. ",";
  16. echo $burn_actual;
  17. }
  18. }
  19. ?>
  20.  
  21. <?php echo $burn_actual; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement