view.php PDO, take 2

go cray, y’all