Jump to content

Recommended Posts

i have this code

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>

    <item>
        <title> tttt1</title>
        <link>lll1</link>
        <description> dddd1
        </description>
    
        
    </item>



    <item>
        <title> tttt2</title>
        <link>lll2</link>
        <description> dddd2
        </description>
    
        
    </item>


    <item>
        <title> tttt3</title>
        <link>lll3</link>
        <description> dddd3
        </description>
    
        
    </item>

and i want go get to array all the details

 

tttt1

lll1

dddd1

 

tttt2

lll2

dddd2

 

tttt3

lll3

dddd3

 

how can i do that simple?

I SEE THIS

http://il2.php.net/xml_parse

but

1)i dont understand this how can i do what i want

2) it is too long and class code i need short and simple

 

please help

 

Link to comment
https://forums.phpfreaks.com/topic/230204-read-xmlrss-how/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.