> Square brackets in JSON represent arrays. Take their JSON, run it through 
> json_decode, and assuming it decodes correctly compare the structure to what 
> you already have. You should then be able to modify what you have so it 
> generates JSON in the format they are expecting.

Done. I knew about the square brackets. In the code being used the array, if 
blank, gets square brackets. For some reason an array containing actual data 
does not.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to