beginTransaction(); $sql = "insert into chandj.egicut(text1, text2, text3, text4, text5) "; $sql .= "values(?, ?, ?, ?, ? )"; // $stmh = $pdo->prepare($sql); $stmh->bindValue(1, $text1, PDO::PARAM_STR); $stmh->bindValue(2, $text2, PDO::PARAM_STR); $stmh->bindValue(3, $text3, PDO::PARAM_STR); $stmh->bindValue(4, $text4, PDO::PARAM_STR); $stmh->bindValue(5, $text5, PDO::PARAM_STR); $stmh->execute(); $pdo->commit(); } catch (PDOException $Exception) { $pdo->rollBack(); print "오류: ".$Exception->getMessage(); } header("Location:/order/egimake_list.php?callname=$text1&cutwidth=$cutwidth&cutheight=$cutheight"); // 신규가입일때는 리스트로 이동 ?>