<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 09:08:27 +0000</lastBuildDate>
    <item>
      <title>(PHP) Clean array for Posting / SQL injection protection - the_dev</title>
      <link>https://snipplr.com/view/16737/clean-array-for-posting--sql-injection-protection</link>
      <description>&lt;p&gt;Need a function to clean your _POST array before inserting into a database? Just pass $_POST to this function.&lt;/p&gt;</description>
      <pubDate>Tue, 07 Jul 2009 15:54:29 UTC</pubDate>
      <guid>https://snipplr.com/view/16737/clean-array-for-posting--sql-injection-protection</guid>
    </item>
    <item>
      <title>(PHP) Print Array for Debugging - the_dev</title>
      <link>https://snipplr.com/view/16736/print-array-for-debugging</link>
      <description>&lt;p&gt;It's easy to print out an array that is readable and with only one line of code.  This can easily be turned into a nifty function.&lt;/p&gt;</description>
      <pubDate>Tue, 07 Jul 2009 15:34:58 UTC</pubDate>
      <guid>https://snipplr.com/view/16736/print-array-for-debugging</guid>
    </item>
    <item>
      <title>(PHP) Turn MySQL results into an array, the proper way! - the_dev</title>
      <link>https://snipplr.com/view/16735/turn-mysql-results-into-an-array-the-proper-way</link>
      <description>&lt;p&gt;Here is the correct way to turn your mysql results into an array.  Forget the other nonsense of useless code.  Why type out this long code: "for($i = 0; $array[$i] = mysqli_fetch_assoc($result); $i++) ;"  when you can accomplish the same thing with much less code.&lt;/p&gt;</description>
      <pubDate>Tue, 07 Jul 2009 15:28:49 UTC</pubDate>
      <guid>https://snipplr.com/view/16735/turn-mysql-results-into-an-array-the-proper-way</guid>
    </item>
  </channel>
</rss>
