Revert "PDO not working"

This reverts commit a4304d2a62d74883bc98e900ea7412902c26dd19.