Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • This looks cool, is there also a way to remove the tags and only show the information, however this might look even better. Commented Feb 25, 2014 at 15:37
  • Not with print_r() - it's effectively a dump of the object. You'll need to loop through, and echo each attribute you want in the format you would like. Commented Feb 25, 2014 at 16:41