summaryrefslogtreecommitdiffstats
path: root/user_guide/database/connecting.html
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/database/connecting.html')
-rw-r--r--user_guide/database/connecting.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/database/connecting.html b/user_guide/database/connecting.html
index 79277e536..4a859d186 100644
--- a/user_guide/database/connecting.html
+++ b/user_guide/database/connecting.html
@@ -115,7 +115,7 @@ $this->load->database(<samp>$config</samp>);</code>
<code>$dsn = 'dbdriver://username:password@hostname/database';<br />
<br />
-$this->load->database('<samp>$dsn</samp>');</code>
+$this->load->database(<samp>$dsn</samp>);</code>
<p>Note that if you use a DSN you will not be able to specify some of the default values like you can if you use a connection array.</p>