prepare($sql);
$num=1;
$stmh->bindValue(1,$num,PDO::PARAM_STR);
$stmh->execute();
$count = $stmh->rowCount();
if($count<1){
print "검색결과가 없습니다.
";
}else{
$row = $stmh->fetch(PDO::FETCH_ASSOC);
$motor1 = $row["motor1"];
$motor2 = $row["motor2"];
$motor3 = $row["motor3"];
$motor4 = $row["motor4"];
$motor5 = $row["motor5"];
$motor6 = $row["motor6"];
$motor7 = $row["motor7"];
$motor8 = $row["motor8"];
$motor9 = $row["motor9"];
$motor10= $row["motor10"];
}
?>