Cum pot prelua selectiv articole dintr-un xml????

Secţiune dedicată începatorilor.

Moderatori: Moderatori, Start Moderator


lorand1
Average Member
Mesaje: 108
Membru din: Vin Apr 25, 2008 7:44 pm
Localitate: Baia Mare

Mesajde lorand1 » Sâm Sep 13, 2008 2:40 am


Avatar utilizator
azzuro
Senior Member
Mesaje: 297
Membru din: Mar Iul 05, 2005 2:30 am

Mesajde azzuro » Sâm Sep 13, 2008 1:32 pm

http://www.php.net/simplexml

# simplexml_load_file — Interprets an XML file into an object
# simplexml_load_string — Interprets a string of XML into an object



$simpleXMLObject = simplexml_load_string('adresa_fefedului_tau_rss');

Sa ii vezi structura faci un print_r($simpleXMLObject);
Dupa aia mai ai doar un pas, te las pe tine sa il descoperi.


Înapoi la “PHP Incepători”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 24 vizitatori