finished changing from mysql_ to pdo