Re: WDDX Deserialisation problem/bug?
| From: | Andrei Zmievski | Date: | Mon, 23 Apr 2001 19:46:02 +0000 |
| Subject: | Re: WDDX Deserialisation problem/bug? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-49922@lists.php.net to get a copy of this message | ||
PHP WDDX doesn't support recordsets.
> I'm using wddx_deserialize($packet) and what I'm getting returned does not
> seem right in the slightest
>
> my code is:
>
> $values = wddx_deserialize($packet);
>
> Packet:
> <wddxPacket
> version='1.0'><header></header><data><recordset
> rowCount='2'
> fieldNames='Title,description,bondref'><field
> name='Title'><string>Senior
> Legal Adviser</string><string>Head of
> Litigation</string></field><field
> name='description'><string>blah blah blah</string><string>blah
> blah
> blah</string></field><field
>
> name='bondref'><number>234</number><number>236</number></field></recordset><
> /data></wddxPacket>
>
> when I run wddx_deserialize on my packet, I'm getting a string with the
> contents "Senior Legal Adviser"
>
> i.e. the first value of the first field
>
> I was expecting a nice associative array, what am I doing wrong?
>
> FWIW the packet is coming through fine
-Andrei
* Anything will fit if you push hard enough *