prepare($sql); $stmh->bindValue(1, $num, PDO::PARAM_STR); $stmh->execute(); $row = $stmh->fetch(PDO::FETCH_ASSOC); $workplacename=$row["workplacename"]; $secondord=$row["secondord"]; $deadline=$row["deadline"]; $type=$row["type"]; $inseung=$row["inseung"]; }catch (PDOException $Exception) { print "오류: ".$Exception->getMessage(); } // 포장 이미지에 대한 부분 require_once("./lib/mydb.php"); $pdo = db_connect(); // 실측서 이미지 이미 있는 것 불러오기 $picData=array(); $sql=" select * from " . $DB . ".ceilpicfile where parentnum ='$num' "; try{ $stmh = $pdo->query($sql); // 검색조건에 맞는글 stmh while($row = $stmh->fetch(PDO::FETCH_ASSOC)) { array_push($picData, $row["picname"]); } } catch (PDOException $Exception) { print "오류: ".$Exception->getMessage(); } $updir = './imgmotor/'; ?> (주) 대한 출하 사진
현장명 :
발주처 인승 타입 납품일자
출하 사진
0) { for($i=0;$i '; print '

'; print '
'; } } ?>