prepare($sql);
$stmh->bindValue(1,$num,PDO::PARAM_STR);
$stmh->execute();
$count = $stmh->rowCount();
if($count<1){
// 변수 초기화
$update_log = "";
} else {
$row = $stmh->fetch(PDO::FETCH_ASSOC);
$update_log = $row["update_log"];
// $update_log = str_replace(" ", "
", $update_log);
$update_log_arr = preg_replace('/(\d{4})/', "
$1", $update_log);
// $update_log_arr = explode("
", $update_log );
// var_dump($update_log_arr);
}
}catch (PDOException $Exception) {
print "오류: ".$Exception->getMessage();
}
?>