Some useful PHP PDO snippets.