query($reqStr)){ while ($event = $stmt->fetch()) { if($event[0]==1){ include("../g2.html"); } elseif($event[0]== -1){ print "
Certification Failed. .
"; $dbhost = null; } } } } }catch (Exception $e){ echo "
error
"; } ?>