PHP: calling a child tag simplexml

Posted by ZaneDeFazio on Stack Overflow See other posts from Stack Overflow or by ZaneDeFazio
Published on 2010-05-25T08:08:48Z Indexed on 2010/05/25 8:11 UTC
Read the original article Hit count: 127

Filed under:
|
|

Trying to parse a YouTube feed using PHP

simplexml_load_file();

I am able to access other tags pretty simply using

$xml->id;

When I try to access

<openSearch:totalResults>

with

$xml->openSearch->totalResults;

I don't get any results

© Stack Overflow or respective owner

Related posts about php

Related posts about Xml