'처리완료' order by num desc "; // if($user_name== '이경묵') // $a=" where approve='결재상신' and part='제조파트' order by num desc "; // if($user_name== '김선영') // $a=" where approve='결재상신' and approve<>'1차결재' and part='지원파트' order by num desc "; $sql="select * from " . $DB . ".error " . $a; // print $sql; try{ $stmh = $pdo->query($sql); // 검색조건에 맞는글 stmh $temp1=$stmh->rowCount(); $total_row=$temp1; ?>
| 보고자 | 유형 | 발생일 | 현장명 | 원인 | 개선대책 | 진행 |
|---|---|---|---|---|---|---|
| =$reporter?> | =iconv_substr($errortype,0,7,"utf-8")?> | =$occur?> | =$place?> | =$content?> | =$method?> | =$approve?> |