How do I iterate thru the xpath_xml->messages->ids->numericString Array?
What I have is
$obj_auth = new AuthorizeNetCIM;
$obj_obj = $obj_auth ->getCustomerProfileIds();
I can get too; obj_obj->xpath_xml->messages->message->code but can't figure out how to get the ids.
Spent 2 hours trying multiple variations of foreach{$obj_obj->xpath_xml as $obj_id} {echo()} with no luck
06-07-2011 10:29 AM
I think is just xpath_xml->ids and loop thru the array
06-07-2011 12:21 PM
Ok now I feel like a fool. Thought ids was inside messages and wasted 4 hours trying to make that work. duh.
Well that worked, thanks!!!!
06-07-2011 12:37 PM