Skip to main content
5 events
when toggle format what by license comment
Feb 13, 2017 at 15:59 comment added user19466 I changed the code to json_decode, and it works now. Thanks for the help @Watergate.
Feb 13, 2017 at 15:42 comment added user19466 dpm($data) returns nothing, but $dpm($response) shows the corresponding json object. There must be some problem with the drupal_json_decode statement.
Feb 12, 2017 at 12:56 comment added Watergate Yes, I think you're right. Could you print out what is stored in $data (using dpm())?
Feb 12, 2017 at 0:19 comment added user19466 Thanks.Doesn't drupal_json_decode convert the json object into a PHP array ?
Feb 11, 2017 at 23:58 history answered Watergate CC BY-SA 3.0