Exec($SQL);//SQL実行 $Cnt = 0; if($db -> NumRows($rc) > 0){ ?> 購入はこちらからどうぞ