I have an array $array1
Array
(
[0] => SimpleXMLElement Object
(
[galleryid] => gallery.xml
[galleryname] => Default
[createdat] => 9/8/2010 5:55 pm
[description] => Default
)
}
when i am running
foreach($array1 as $node)
{
print_r($node) ;
}
am getting
SimpleXMLElement Object
(
[galleryid] => gallery.xml
[galleryname] => Default
[createdat] => 9/8/2010 5:55 pm
[description] => Default
)
How i can display galleryid and gallery name