This question already has an answer here:
I want to make json
as followsin php:
{["key1":"value1"],["key2":"value2"]}
Can any one help?
</div>
This question already has an answer here:
I want to make json
as followsin php:
{["key1":"value1"],["key2":"value2"]}
Can any one help?
</div>
See the PHP manual for json_encode()
and json_decode()
:
http://php.net/manual/en/function.json-encode.php http://php.net/manual/en/function.json-decode.php