Possible Duplicate:
how to decode this JSON string?
When fetching data from another site I get this
{"user_id":"908508","item_id":"341","quantity":"3","status":"0"}
sometimes theres more fields, sometimes there’s less
how can I turn this into an array
"name" => "X"
try this: