Final changes to mysqli before PDO implementation
New changes including PDO