>
...
class ads_DB extends DB_Sql {
var $Host = $MR_Host;
var $Database = $MR_Database;
var $User = $MR_User;
var $Password = $MR_Password;
}
>I think, Your problem is here. If i remember correctly, then PHP4 doesn't allow to initialize "var"-s with non-constant values.
Solutions:
1) Define those connection parameters as constants, i.e.
define( 'MR_Host', "some.host" ) etc. And use those constants in "ads_DB"-class definition.
2) Create constructor for "ads_DB"-class and initialize "var"-s there.
Hope that helps. :)
-- Pavel a.k.a. Papi
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

