I have echo json_encode($response);
which works fine unless the response is "0" and then I get an empty
"responseVars:"
If I do echo json_encode($response ->number);
I get responseVars: {"number":0} also incorrect it should just return
"0"
Any ideas what I'm doing wrong?
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment