Nunners wrote:
Array != Object
echo $data->Title .'';
echo $data->avail_dataset[0]->dept_date .'';
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 XM
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
2 matches
Mail list logo