Update example_pdo.php

Added exception handling, removed die() to ensure all html / xml is output regardless of success
Update example_pdo.php
Update example_pdo.php

type error
Merge pull request #5 from stevenmw/master

Update example_pdo.php