<?php
$result_examset=$dbh->query("select * from examsets where autoid='' $exam1 $exam2 $exam3 $exam4 $exam5 $exam6 $exam7 $exam8 $exam9 $exam10 $exam11 $exam12 $exam13 $exam14 $exam15 $exam16 $exam17 $exam18 $exam19 $exam20 order by autoid desc");
$row_examset=$result_examset->fetchObject();
$count_examset=$result_examset->rowCount();
?>