function p8docmcu(){
  global $ar,$db;
  $dt=array();
  //$dt['param']=$js;

  $sql="SELECT * from `ptg8_stp3` where `cek`=0 order by id";
  //$sql="SELECT * from `ptg_8` where `mcu_upload`=0 and status='stp-3.4' order by id";
  //$dt['sql'][1]=$sql8;
  $res=mysqli_query($db,$sql);
  if(mysqli_num_rows($res)>0){
    $dt['status']=true;
    $dt['count']=mysqli_num_rows($res);
    while($r=mysqli_fetch_assoc($res)) {
      $dt['data'][]=$r;
    }
  } else {
    $dt['error']=true;
    $dt['message']="Data not found";        
  }
  return $dt;
}