Re: importing from XML-files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Merlin Morgenstern schrieb:
Hi everybody,

I am creating an import script which is getting data out of an xml file.
Now I do have a problem with a file where 2 images are included. I need to access the second image name, but can not find out how.

I do:
$xml = simplexml_load_file($files[$i]);
$data[pic1_base64] = $xml->anbieter->anhang->anhanginhalt;

This get's me the first image in line. But how could I get the second one?

Thank you for any help,

Merlin
Hi Merlin,
well please tell us how shows the XML DOC?. I can see that the XML read a node like anbieter. Is the Anhang an Object or Array? Is this Empty?


viele Gruesse

Carlos Medina

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux