View Single Post
Old 01-18-2008, 10:32 PM   #8 (permalink)
sketchMedia
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

yea, alan's example is better suited to your needs atm, but if you needed multiple 'imageCacheResults' PHP DOM is the way to go, it will get messy pratting around with strings and loops and god knows what, although you would have to create a new root, i.e.:

xml Code:
<?xml version="1.0"?>
<imageCacheResults>
    <imageCacheResult>
        <url>value of url</url>
        <thumbnail>value of thumbnail</thumbnail>
    </imageCacheResult>
    <imageCacheResult>
         <url>value of url</url>
         <thumbnail>value of thumbnail</thumbnail>
    </imageCacheResult>
</imageCacheResults>

bah humbug im going to bed, im far to tired my brain is farting out errors again
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote