query "[{\"id\": \"222\", \"name\": \"spectacular fizz\", \"price\": \"3.59\"}, {\"id\": \"222\", \"name\": \"spectacular fizz\", \"price\": \"3.59\"}]"
when I get this into my PHP application, this is what the array looks like in a variable. (OH, and btw...yes i used the json_decode function before all this)
"[{"id": "222", "name": "spectacular fizz", "price": "3.59"}, {"id": "222", "name": "spectacular fizz", "price": "3.59"}]"
I have searched high and low...has somebody not made a php function that would convert this into a PHP array of objects?
thanks.
This post has been edited by scottyadam: 30 January 2012 - 04:54 PM

New Topic/Question
Reply



MultiQuote






|