<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - berkes</title>
<link>http://snipplr.com/users/berkes/tags/debug</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 15 Feb 2012 08:47:42 GMT</pubDate>
<item>
<title>(PHP) Drupal function to return contents of a databasetable (for Debugging)</title>
<link>http://snipplr.com/view/7637/drupal-function-to-return-contents-of-a-databasetable-for-debugging/</link>
<description><![CDATA[ <p>Drupal helper function to debug a table. Returns the contents and some explanation of a database table in a rendered format (HTML table).

**NOTE** You REALLY do not want to put this function behind any kind of menu_callback and/or on other pages. Use it for debugging only: Because we return any contents, regardless of permissions and so forth, you potentially open up your site to data mining and or session hijacking!</p> ]]></description>
<pubDate>Fri, 01 Aug 2008 12:02:21 GMT</pubDate>
<guid>http://snipplr.com/view/7637/drupal-function-to-return-contents-of-a-databasetable-for-debugging/</guid>
</item>
<item>
<title>(PHP) Easy debug variable to find what vars are available in a tpl.php file</title>
<link>http://snipplr.com/view/5039/easy-debug-variable-to-find-what-vars-are-available-in-a-tplphp-file/</link>
<description><![CDATA[ <p>An easy debug trick: gives you a variable that you can print in any tpl.php to find out what vars you have available there.</p> ]]></description>
<pubDate>Wed, 13 Feb 2008 03:30:30 GMT</pubDate>
<guid>http://snipplr.com/view/5039/easy-debug-variable-to-find-what-vars-are-available-in-a-tplphp-file/</guid>
</item>
</channel>
</rss>
