Answers for "laravel import xml to database"

PHP
0

laravel import xml to database

$xml = new SimpleXMLElement($destinationPath.$fileName, null, true);

$xml = new DomDocument('1.0', 'utf-8'); // Or the right version and encoding of your xml file
$xml->load($destinationPath.$fileName);
Posted by: Guest on March-20-2020

Browse Popular Code Answers by Language