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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to