From 04eb070b87da9ffa40e48ef3660e664b48760c97 Mon Sep 17 00:00:00 2001
From: Derek Allard
Date: Sun, 17 Jan 2010 07:07:13 +0000
Subject: Documentd db->close()
---
user_guide/database/connecting.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'user_guide/database/connecting.html')
diff --git a/user_guide/database/connecting.html b/user_guide/database/connecting.html
index fb766288e..217a23570 100644
--- a/user_guide/database/connecting.html
+++ b/user_guide/database/connecting.html
@@ -164,9 +164,11 @@ you can pass the connection values as indicated above).
$this->db->reconnect();
+Manually closing the Connection
-
+While CodeIgniter intelligently takes care of closing your database connections, you can explicitly close the connection.
+$this->db->close();
--
cgit v1.2.3-24-g4f1b