Hi.
I am trying to use the YouTube API with PHP and I can't figure out how to get a certain XML node to print:
<media:title>
I don't think the colon is playing nicely with my PHP. Any ideas?
foreach ($xml->entry->author as $item){
print "<li>$item->name</li>\n";
}
Essentially I want this example to work:
foreach ($xml->entry->media:group as $item){
print "<li>$item->media:title</li>\n";
}
Thanks dudes.