Skip to content
Snippets Groups Projects
Commit c46edb84 authored by Imran Hussain's avatar Imran Hussain
Browse files

fix su api

parent 1f4a4016
No related branches found
No related tags found
No related merge requests found
...@@ -31,10 +31,8 @@ $membership_data = $formated_raw_data["table1"]["table1_Product_Collection"]["ta ...@@ -31,10 +31,8 @@ $membership_data = $formated_raw_data["table1"]["table1_Product_Collection"]["ta
// make a new array that just contains *every* member no matter what they bought // make a new array that just contains *every* member no matter what they bought
$just_members = array(); $just_members = array();
foreach ($membership_data as $typeOfMember) { foreach ($membership_data["Detail_Collection"] as $member) {
foreach ($typeOfMember["Detail_Collection"]["Detail"] as $member) { array_push($just_members, $member["@attributes"]);
array_push($just_members, $member["@attributes"]);
}
} }
/* You can now use $just_members to probe member detials. It's an array of arrays which each contain: /* You can now use $just_members to probe member detials. It's an array of arrays which each contain:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment