more PDO stuff for admin scripts