Diff for phpMyEdit/doc/sgml/configuration.general.sgml between version 1.44 and 1.45
| version 1.44, 2004/07/15 13:41:16 |
version 1.45, 2004/11/10 17:00:14 |
|
|
| <!-- $Platon: phpMyEdit/doc/sgml/configuration.general.sgml,v 1.43 2004/07/15 10:40:23 nepto Exp $ --> |
<!-- $Platon: phpMyEdit/doc/sgml/configuration.general.sgml,v 1.44 2004/07/15 13:41:16 nepto Exp $ --> |
| |
|
| <sect1 id="configuration.mysql-options"> |
<sect1 id="configuration.mysql-options"> |
| <title id="configuration.mysql-options.title">Database connection</title> |
<title id="configuration.mysql-options.title">Database connection</title> |
| Line 37 to a separate, included file. |
|
| Line 37 to a separate, included file. |
|
| <para> |
<para> |
| |
|
| It is a rather common situation to use &name; inside larger project. To |
It is a rather common situation to use &name; inside larger project. To |
| prevent from creating an additional persistent database connection, |
prevent &name; from creating an additional persistent database connection, |
| supply the <varname>$opts['dbh']</varname> option. In the example below, |
supply the <varname>$opts['dbh']</varname> option. In the example below, |
| <varname>$your_project_db_handle</varname> represents a previously allocated |
<varname>$your_project_db_handle</varname> represents a previously allocated |
| MySQL database handle. When <varname>$opts['dbh']</varname> is specified, the |
MySQL database handle. When <varname>$opts['dbh']</varname> is specified, the |
Platon Group <platon@platon.org> http://platon.org/
|
|