use RedBeanPHP rather than PDO