continuing transition from mysql to PDO