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 :
$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