On 8-Sep-08, at 1:55 PM, dnk wrote:
> has anyone had any luck passing objects to the amfphp browser for
> testing classes? I read a few articles that you need to use valid JSON
> for passing in....
>
> So I am typing in something like:
>
> {id: 3, category: 'a cat'}
>
> Has anyone been able to do this? The above does not work. I am juts
> testing my php classes via the browser before i start to write the
> flex portion.....
>
> dnk
>
Ok, for reference in the archives....
The proper syntax is:
{"id": 3, "category": "a cat"}
In my specific case, I had a quoting error in the sql statement i had
in my php class.
So I guess lesson is... be sure the php is right before thinking it is
the gateway.
d