2
我正在做一個肥皂調用,但其中一個嵌套元素重複,所以它會被覆蓋,當我創建數組,編號的元素休息肥皂請求。重複數組中的元素爲一個PHP肥皂呼叫
$result = $client->SaveEventRegistration(array(
'SetEventRegistrationRQ' => array(
'Attendees' => array(
'Attendee' => array(
'EventRegistrationTypeID' => '3125',
'NoofSeats' => '2',
'RegistrationCost' => '20',
'Contact' => array(
'FirstName' => 'Danny',
'LastName' => 'Hulk',
'Email' => '[email protected]',
'IsForNewsletter' => 'true'
)
),
'Attendee' => array(
'EventRegistrationTypeID' => '3149',
'NoofSeats' => '2',
'RegistrationCost' => '30',
'Contact' => array(
'FirstName' => 'Penny',
'LastName' => 'Hulk',
'Email' => '[email protected]',
'IsForNewsletter' => 'true'
)
)
),
'EventId' => '2652',
'RegistrationBy' => array(
'FirstName' => 'Incredible',
'LastName' => 'Hulk',
'Email' => '[email protected]',
'EventScheduleId' => '2617'
)
)));
這些許多元素中哪些重複(和哪裏)? – hakre 2011-12-16 00:18:24