Updated to PDO

Why did I use mysql_connect, I knew that was bad, you are an idiot self.