json_encode () - Returns the JSON representation of a value
If I do:
$foo = array('a', 'b', 'c', 'd', 'e');
echo json_encode($foo);
I'll get:
["a","b","c","d","e"]
So far so good, I'm getting an array and turning it into a json...
asked by
10.11.2015 / 16:18