Fixed mysqli and pdo error in quote method.