NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Identical nodes in a parameter array


Joined: 16 Feb 2010
Posts: 1
Location: Dubai
Reply with quote
Here is the scenario :
The structure of the Request XML needs to be :

<username>ABC</username>
<password>demo</password>
<Status>
<StatusData>A</StatusData>
<StatusData>B</StatusData>
<StatusData>C</StatusData>
</Status>

So i am sending the following parameter :

Code:
$param = array('username'=>'ABC','password'=>'demo','Status'=>array('StatusData'=>'A','StatusData'=>'B','StatusData'=>'C'));


however at the step of var_dump() the StatusData key comes up only once ( ofcoz coz the key of an array needs to be unique )

So my basic question is - how do i achieve the Request XML Format. How should my $param variable be to allow me to pass identical nodes.

Thanks
View user's profileFind all posts by smoizsSend private message


Joined: 25 Mar 2010
Posts: 1
Reply with quote
hi,

i've the same problem, have you found a solution?


TIA
View user's profileFind all posts by digitalbladeSend private message
Identical nodes in a parameter array
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic