1

I need to manually pull through user images and and users first name for a comment section, but i cant find what these array items are named, if anybody knows please tell me and or tell me how to find similar information in future thanks in advance

0

The best way to do this is use the devel module.

Once enabled you can use the dpm($variable) function to have it printed out on the screen.

Another (more complex to set up) solution would be to use xdebug and a debugger.

  • downloaded and installed devel but Execute php code in development didnt display anything, which development link/tool should i use? – Plentybinary Apr 18 '14 at 20:43
  • i found what i was looking for in variable editor, but if you could let me know where to find the console for future reference i would appreciate it, thanks for turning me onto devel module though, its very helpful. – Plentybinary Apr 18 '14 at 21:03
  • If you go to /devel/php it will give you an area where you can test some php. – kevin.coyle Apr 19 '14 at 13:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.