exec(utf8_encode($sql)) === false) { throw new Exception($pdo->errorInfo()); } } }