WDDX Deserialisation problem/bug?

From: Date: Wed, 18 Apr 2001 13:34:17 +0000
Subject: WDDX Deserialisation problem/bug?
Groups: php.general 
Request: Send a blank email to php-general+get-49203@lists.php.net to get a copy of this message
Hi 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 regs -- Darren Beale Web Developer Vardus Ltd - www.vardus.com +44 (0) 20 7471 8899

« previous php.general (#49203) next »