setAttribute(PDO::ATTRERRMODE, PDO::ERRMODEEXCEPTION); } catch(Exception $e) { echo $e->getMessage(); } $sql="select * from board"; $stmt = $dbco