From c644128fdd49a47d791240e0e38b54cd22412bc5 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 4 Jul 2007 23:54:32 +0000 Subject: fixed validation errors... about a zillion of em. --- user_guide/database/connecting.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'user_guide/database/connecting.html') diff --git a/user_guide/database/connecting.html b/user_guide/database/connecting.html index aebca25be..e44c145e2 100644 --- a/user_guide/database/connecting.html +++ b/user_guide/database/connecting.html @@ -111,9 +111,9 @@ $config['active_r'] = TRUE;

$this->load->database($config); -

For information on each of these values please see the configuration page. +

For information on each of these values please see the configuration page.

-

Or you can submit your database values as a Data Source Name. DSNs must have this prototype: +

Or you can submit your database values as a Data Source Name. DSNs must have this prototype:

$dsn = 'dbdriver://username:password@hostname/database';

@@ -122,8 +122,6 @@ $this->load->database('$dsn');

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.

- -

Connecting to Multiple Databases

If you need to connect to more than one database simultaneously you can do so as follows:

@@ -164,7 +162,7 @@ Previous Topic:  Database ConfigurationTop of Page   ·   User Guide Home   ·   Next Topic:  Queries -

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

-- cgit v1.2.3-24-g4f1b