pdo = $pdo; } public function sendThese() { $sql = 'SELECT * FROM theses'; $req = $pdo->query($sql); while($row = $req->fetch()) { echo "
" . $row['author'] . " | " . $row['title'] . "