Check out http://www.json.org/ for JSON structures.
In javascript an Array object is a special implementation of the
Object object (like all objects other than Object) - an Array object
can only have numerical indices, an Object object can have textual
indices too. If you json_encode a php array w
I am using json_encode to output the results of a mySQL query which is
part of a jquery & ajax.
$result = json_encode($array);
echo $result;
The output on my screen is:
{0:"John 14:27","verse_reference":"John 14:27"}
How do I format json_encode output? I would like
John 14:27
to be what i