NYCPHP Meetup

NYPHP.org

[nycphp-talk] Returning DB results as XML or JSON?

Gary Mort garyamort at gmail.com
Thu Dec 3 14:19:59 EST 2009


On Thu, Dec 3, 2009 at 2:11 PM, Anthony Papillion <papillion at gmail.com>wrote:

>
> While this seems (and indeed is) a rather simple task, it's also fairly
> tedious. Is there anything out there that can help me auto-format them in
> one of those formats? Something that takes a standard results set then
> transforms it into either XML or JSON?
>
>
json_encode

http://www.php.net/manual/en/function.json-encode.php

-- 
----
Hudson Valley Sudbury School
What GPL is for application users
Our school is for students
Help your children grow, change, and learn
Let your child direct, control, amend
Check out http://www.sudburyschool.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20091203/06c7f58a/attachment.html>


More information about the talk mailing list