From 9ba2189dd10fd9a8cd779d8e3058af5f2ecf2696 Mon Sep 17 00:00:00 2001 From: Rick Ellis Date: Sun, 19 Oct 2008 01:02:33 +0000 Subject: Improved connection info --- user_guide/database/connecting.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'user_guide') diff --git a/user_guide/database/connecting.html b/user_guide/database/connecting.html index 246aa4e6a..8ece6dcef 100644 --- a/user_guide/database/connecting.html +++ b/user_guide/database/connecting.html @@ -80,6 +80,16 @@ available globally in that class.

If the above function does not contain any information in the first parameter it will connect to the group specified in your database config file. For most people, this is the preferred method of use.

+

Available Parameters

+ +
    +
  1. The database connection values, passed either as an array or a DSN string.
  2. +
  3. TRUE/FALSE (boolean). Whether to return the connection ID (see Connecting to Multiple Databases below).
  4. +
  5. TRUE/FALSE (boolean). Whether to enable the Active Record class. Set to FALSE by default.
  6. +
+ + +

Manuallly Connecting to a Database

The first parameter of this function can optionally be used to specify a particular database group from your config file, or you can even submit connection values for a database that is not specified in your config file. -- cgit v1.2.3-24-g4f1b