

prepare($sql);
$stmh->bindValue(1,$num,PDO::PARAM_STR);
$stmh->execute();
$count = $stmh->rowCount();
if($count<1){
print "검색결과가 없습니다.
";
}else{
while($row = $stmh->fetch(PDO::FETCH_ASSOC)){
$item_subject = $row["subject"];
$item_content = $row["content"];
?>

