Thankfully with a tiny bit of markup wrapping your
print_r statement you can easily read information about the variable.
<?php echo "<pre>"; var_dump($your_variable); echo "</pre>"; ?>
<?php echo "<pre>"; print_r($your_variable); echo "</pre>"; ?>
Want to become a better web developer?
Join over 25,000 other developer & designers who get awesome links to the best news and articles each week delivered directly to their inbox.