Possible Duplicate:
Able to see a variable in print_r()'s output, but not sure how to access it in code
SimpleXMLElement Object
(
[Header] => SimpleXMLElement Object
(
)
[Body] => SimpleXMLElement Object
(
[CreateUserResponse] => SimpleXMLElement Object
(
[username] => anup_165
[password] => xnrrtgohgv
[result] => SimpleXMLElement Object
(
[succeeded] => true
[errorCode] => 0
[errorText] => SimpleXMLElement Object
(
)
)
)
)
)
i want to fetch username , password and succeeded from the above array