a problem about calling nusoap with the same key
| From: | Shiqi Yang | Date: | Thu, 04 Aug 2005 02:23:34 +0000 |
| Subject: | a problem about calling nusoap with the same key | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-219969@lists.php.net to get a copy of this message | ||
Hi all:
Now I am playing nusoap to call some apis. In the api doc, the example gives
like this:
<ArrayList>
<input name="a" value="a">
<input name="b" value="b">
<input name="c" value="c">
</ArrayList>
My code like:
Array('ArrayList' => array(
'input' => array('name' => 'a', 'value'=>
'b'))
);
But the key in the array should be different, so how can I construct it?
I also try :
Array('ArrayList' => '<input name="a" value="a /><input
name="b"' value="b"
/>);
But after the serializing $param, there is nothing in the ArrayList.
Does anyone know about it?
Any reply would be appreciated.
Thanks.
Best regards,
Shiqi Yang