<?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 05:51:11 +0000</lastBuildDate>
    <item>
      <title>(PHP) mysql connection that re-connects if it's been disconnected - Aeon</title>
      <link>https://snipplr.com/view/408/mysql-connection-that-reconnects-if-its-been-disconnected</link>
      <description>&lt;p&gt;usage is simple:&#13;
$result = mysqli_query($query,db_conn('local')); for instance.&#13;
if written in patterns, this should probably be a singleton, but I haven't bothered converting it - feel free to comment with your modification though!&lt;/p&gt;</description>
      <pubDate>Thu, 13 Jul 2006 11:47:07 UTC</pubDate>
      <guid>https://snipplr.com/view/408/mysql-connection-that-reconnects-if-its-been-disconnected</guid>
    </item>
  </channel>
</rss>
