daily pastebin goal
71%
SHARE
TWEET

Untitled

a guest Feb 23rd, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.     $result = mysqli_query($conn, "SELECT id_task FROM task WHERE
  3.     id_project=$id_project"); $i=0;
  4.     $jumlahTask = mysqli_num_rows($result);
  5.     while($row = mysqli_fetch_assoc($result)){
  6.     $list[$i]= $row['id_task']; $i++;
  7.     }
  8.  
  9.     for($i=0;$i<$jumlahTask;$i++){      
  10.     $result = mysqli_query($conn, "SELECT a.taskname, a.taskto,
  11.     b.part_order, b.qty_order, b.unit_order FROM task a, orders b WHERE
  12.     a.id_task=b.id_task AND a.id_task=$list[$i]");
  13.     while($row = mysqli_fetch_assoc($result)){  
  14.     ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top