Posted by Ewoud Dronkert on 08/25/05 16:50
Ian N wrote:
> echo $ExRay[1]["cname"];
> but this doesn't return anything
>
> Array
> (
> [1] => currency Object
> (
> [csymbol] => AFA
> [cname] => Afghanistan Afghanis
> [crate] => 80.0505170552
> )
$ExRay[1] is an object, cname is a member, so use $ExRay[1]->cname.
--
E. Dronkert
Navigation:
[Reply to this message]
|