Location: PHPKode > scripts > Simple Hook and Plug-ins System (XML) > import.example.php
<?php


require('hook.php');

// Import a product
$Product = new products('example.xml');
$Import = $Product->Import();
if($Import)
{
echo 'Succed';
} elseif(! $Import)
{
echo 'Arab : ' . $Product->ArLastError() . '<br>';
echo 'English : ' . $Product->EnLastError() . '<br>';
}



?>
Return current item: Simple Hook and Plug-ins System (XML)