Thank you Ruan!
This is just what I was looking for!
Anthony
"Ryan Sun" wrote in message
news:f7f19ac21001081308r4b202d45vedaf3561536ad...@mail.gmail.com...
Yup,
you put result in an array
$result = array('status' => 'good');
and return encoded string
return Json_Encode($result);
your clie
Yup,
you put result in an array
$result = array('status' => 'good');
and return encoded string
return Json_Encode($result);
your client will get a string
'{"status": "good"}'
and you use your client tech(eg. javascrpt) to decode this string and finall
get an object
On Fri, Jan 8, 2010 at 3:43 PM
2 matches
Mail list logo