MySQL Connection Class

This is a simple mysql connection class that I’ve been using. I follow Jay Pipes advice about lazy loading from this post.

Here are the files in text.

  • includes/database.inc.php (txt)
  • includes/db.php (txt)
  • dbtest.php (txt)

🎲