If you are going to pass complex object back to your php code you 
should probably be using Amfphp 1.9. Otherwise you have to pass back 
XML data instead.

Michael

--- In [email protected], "rkrater" <[EMAIL PROTECTED]> wrote:
>
> Can someone give me an example of how to save an ArrayCollection to
> php via HTTPService.
> 
> I have a datagrid with a ArrayCollection as the dataprovider. I want
> to click the save button and it is passed to my php page to then be
> saved in the database. Any ideas are welcomed. Thanks!
> 
> ---Here is my code so far---
> <mx:ArrayCollection id="arr_collection"></mx:ArrayCollection>
> <mx:HTTPService id="hs" url="poll.save.php" useProxy="false">
> <mx:request>
> <data>{arr_collection}</data>
> </mx:request>
> </mx:HTTPService>
> 
> This gives me [object Object],[object Object],[object Object] when i
> try to pass it back. Any ideas would help a ton!!!
>


Reply via email to