pdo setattribute in insert method fixed