prepare("SELECT * from entries WHERE verify = 1"); if(!$statement->execute()) { echo "database Error"; } $entries = $statement->fetchAll(PDO::FETCH_ASSOC); ?>