DETAILS
I am getting the following json data back via an ajax response.
"result":[{"word":"jquery","wordID":"1"},{"word":"github","wordID":"2"}]
I am trying to understand the information I've received (arrays confuse me). To do that I am trying to recreate the structure of the array in php.
If I were to recreate the array above would I write it like this?
$result=Array (
[0] => Array (
word => jquery
wordID => 1
)
[1] => Array (
word => github
wordID => 2
)
If no, how would I write it? Thanks.