PHP generate json – list of categories [closed]

You are looking for json_encode(). Passing an associative array to it will return a JSON representation.

http://us1.php.net/json_encode

Browse More Popular Posts

Leave a Comment