Site creation
    • Share:

      > $Simplexml_temp = $simplexml_to->addChild($simplexml_child->getName (), (string) $simplexml_child);

      The second argument must be a SimpleXml object, not a string.

      $Simplexml_temp = $simplexml_to->addChild ($simplexml_child->getName (), $simplexml_child);

      Boris
      Friday, February 12, 2016 1:05 PM .
      104 views.
      Reply