Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2015
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. output of $dpr($data):
  2. Array
  3. (
  4. [0] => Array
  5. (
  6. [data] => Array
  7. (
  8. [17951] => stdClass Object
  9. (
  10. field1 => value,
  11. field2 => value,
  12. field3 => value
  13. )
  14. )
  15. )
  16. [1] => Array
  17. (
  18. [data] => Array
  19. (
  20. [18477] => stdClass Object
  21. (
  22. field1 => value,
  23. field2 => value,
  24. field3 => value
  25. )
  26. )
  27. )
  28. ...etc...
  29. )
  30.  
  31. code where I'm trying to get the field data per node:
  32.  
  33. foreach ($data as $node){
  34. print $node['#data']->title;
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement