From mysql_* to PDO - Part I