georg wrote:
> Hi Sak,
>
>
> thank you very much for the example.
>  
> But is for my app to big.
>
> I have fix the problem.
>
> $arr = array ('first'=>'John','last'=>'Doe');
> $arr1 = array ('first'=>'John2','last'=>'Doe2');
>
>
>
> echo "[", json_encode($arr),","
> ,json_encode($arr1),"]";
>
>
> Best Regards,
>
> Georg
>   
Or, better yet

echo json_encode(array($arr, $arr1));

There is no need for string hacks, the example should be fixed.

Greg

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to