Advertisement
ShawnsSpace

json decode results

Apr 29th, 2014
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.39 KB | None | 0 0
  1.                                                // data needs to be decoded before can be read / accessed as an array
  2.                                                // i use json decode true to decode and return data.
  3.                                                // $result = json_decode($your_results, true);
  4.  if(count(json_decode($this, true)->_request_holder['params']->params->add_product)):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement