Nunners wrote:

Array != Object

echo $data->Title .'<br>';
echo $data->avail_dataset[0]->dept_date .'<br>';

etc. pp

There are some examples on how to convert your XML-Dump
into an Array check out the comments over at php.net

 -- red

[...]
> Hi Folks,
> 
> At the end of the email is a var_dump of my XML...
> 
> I can go through and do foreach on each section, however, this is
> completely useless in practice.
> 
> How do I call things like $data["Title"] and
> $data["avail_dataset"]["0"]["dept_date"]?
> 
> At the moment, every time I do this, it comes out as NULL....
> 
> Cheers
> Nunners
[...]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to