Guest User

Untitled

a guest
Dec 12th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. $ex = {
  2. 'result':"success",
  3. 'categories':[{
  4. //your rest of the code
  5. }]
  6. }
  7. $data = json_decode($ex, TRUE);
  8. //next use for each
  9. foreach($data as $key => $value)
  10. {
  11. //rest of your logic
  12. }
Add Comment
Please, Sign In to add comment