Re: [Phplib-users] db_mysql.inc connect() & multiple databases
Brought to you by:
nhruby,
richardarcher
|
From: S. <bj...@ba...> - 2002-07-20 15:38:43
|
Hi,
* Mike Gifford wrote:
> I'm just looking at db_mysql.inc now and it looks to me like it is
db_mysql.inc ist the wrong way to look at. PHPLIB's nature
is configuring via local.inc where you subclass DB_Sql. If
you don't want to hardcode it, use constants (which may come
from a more general config file):
class DBmy extends DB_Sql {
var $Host = DB_HOST;
var $Database = DB_DATABASE;
}
--
When the heart of your company - your website - gets out of
balance. When the small problem from monday will be a big
problem on Friday before the RollOut. * te...@th...
We help you. Within 2 hours. * +49 (0)931/7843804
|