diff options
Diffstat (limited to 'user_guide/database')
-rw-r--r-- | user_guide/database/connecting.html | 4 |
1 files changed, 3 insertions, 1 deletions
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).</p> <code>$this->db->reconnect();</code> +<h2>Manually closing the Connection</h2> - +<p>While CodeIgniter intelligently takes care of closing your database connections, you can explicitly close the connection.</p> +<code>$this->db->close();</code> </div> <!-- END CONTENT --> |